INNER CODE UNIT · Python

_FlyteSubCommand

flyteorg/flytekit · flytekit/clis/flyte_cli/main.py:470

class _FlyteSubCommand(click.Command):
    _PASSABLE_ARGS = {
        "project": _PROJECT_FLAGS[0],
        "domain": _DOMAIN_FLAGS[0],
        "name": _NAME_FLAGS[0],
        "host": _HOST_FLAGS[0],
        "config": _CONFIG_FLAGS[0],
    }

    _PASSABLE_FLAGS = {
        "insecure": _INSECURE_FLAGS[0],
    }

    def make_context(self, cmd_name, args, parent=None):
        # This list represents the set of args/flags that can be, and are, set on both the parent and subcommand.
        prefix_args = []
        for param in self.params:
            if (

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…