Skip to content

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

@github-actions

Description

@github-actions

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",

Metadata

Metadata

Assignees

No one assigned

    Type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions