Skip to content

Accept click.command objects as command#50

Merged
ryanking13 merged 1 commit intopyodide:mainfrom
evenharder:accept-click-command
Jan 23, 2026
Merged

Accept click.command objects as command#50
ryanking13 merged 1 commit intopyodide:mainfrom
evenharder:accept-click-command

Conversation

@evenharder
Copy link
Contributor

isinstance(x, click.Group) was evaluated to False when click.Command objects were given,
raising type error during conversion of some pyodide-build commands.

isinstance check of click.Group did not allow click.Command objects
@ryanking13
Copy link
Member

Would it be possible to add a testcase that covers this?

Copy link
Member

@ryanking13 ryanking13 left a comment

Choose a reason for hiding this comment

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

Let me merge this so we can proceed.

@ryanking13 ryanking13 merged commit e0d38fb into pyodide:main Jan 23, 2026
3 checks passed
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.

2 participants