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

v2.7: Remove backwards support for Option in bridge commands. #2451

Open
github-actions bot opened this issue May 13, 2024 · 0 comments
Open

v2.7: Remove backwards support for Option in bridge commands. #2451

github-actions bot opened this issue May 13, 2024 · 0 comments

Comments

@github-actions
Copy link
Contributor

Line: 99

def __init__(self, func, **kwargs):
super().__init__(func, **kwargs)
# TODO: v2.7: Remove backwards support for Option in bridge commands.
for name, option in self.params.items():
if isinstance(option.annotation, Option) and not isinstance(
option.annotation, BridgeOption
):
# Warn not to do this
warn_deprecated(
"Using Option for bridge commands",

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant