Skip to content

Make widespead use of type_option#1354

Merged
mdellweg merged 1 commit intopulp:mainfrom
mdellweg:type_option
Apr 13, 2026
Merged

Make widespead use of type_option#1354
mdellweg merged 1 commit intopulp:mainfrom
mdellweg:type_option

Conversation

@mdellweg
Copy link
Copy Markdown
Member

@mdellweg mdellweg commented Apr 9, 2026

No description provided.

@mdellweg mdellweg marked this pull request as ready for review April 9, 2026 12:27
ctx.obj = PulpContainerNamespaceContext(pulp_ctx)
else:
raise NotImplementedError()
def namespace(ctx: click.Context, pulp_ctx: PulpCLIContext, /) -> None:
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Doesn't this need to be-a @type_option?

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

container namespaces are not a one of the master-detail models.
This type option was a c'n'p artifact forever.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Ahhhhh, OK, so --type being allowed here is a bug, that we are fixing. 👍

ctx.obj = PulpContainerNamespaceContext(pulp_ctx)
else:
raise NotImplementedError()
def namespace(ctx: click.Context, pulp_ctx: PulpCLIContext, /) -> None:
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Ahhhhh, OK, so --type being allowed here is a bug, that we are fixing. 👍

@mdellweg mdellweg merged commit aebfa7d into pulp:main Apr 13, 2026
18 checks passed
@mdellweg mdellweg deleted the type_option branch April 13, 2026 13:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants