Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add composite and header content guard commands #1017

Merged
merged 1 commit into from
Jul 19, 2024

Conversation

mdellweg
Copy link
Member

fixes #969

Review Checklist:

  • An issue is properly linked. [feature and bugfix only]
  • Tests are present or not feasible.
  • Commits are split in a logical way (not historically).

@mdellweg mdellweg marked this pull request as ready for review July 19, 2024 12:57
@@ -838,7 +838,7 @@ def _multi_option_callback(
ctx: click.Context, param: click.Parameter, value: t.Iterable[t.Optional[str]]
) -> t.Iterable[EntityFieldDefinition]:
if value:
return (_option_callback(ctx, param, item) for item in value)
return [_option_callback(ctx, param, item) for item in value]
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

@@ -865,6 +865,7 @@ def _multi_option_callback(
if default_type
else ""
),
multiple_note=(_("Can be specified multiple times.") if kwargs.get("multiple") else ""),
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

@ggainey ggainey merged commit 579d387 into pulp:main Jul 19, 2024
17 checks passed
@mdellweg mdellweg deleted the header_cg branch July 19, 2024 14:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Pulp-CLI missing the header content guard option
2 participants