Skip to content

Commit 41278a6

Browse files
authored
Revert fat-finger commit (Netflix#385)
1 parent 9dfa63f commit 41278a6

2 files changed

Lines changed: 2 additions & 12 deletions

File tree

metaflow/cli.py

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -454,13 +454,8 @@ def step(obj,
454454
default=None,
455455
required=True,
456456
help='ID for this instance of the step.')
457-
@click.option('--tag',
458-
'tags',
459-
multiple=True,
460-
default=None,
461-
help="Tags for this instance of the step.")
462457
@click.pass_obj
463-
def init(obj, run_id=None, task_id=None, tags=None, **kwargs):
458+
def init(obj, run_id=None, task_id=None, **kwargs):
464459
# init is a separate command instead of an option in 'step'
465460
# since we need to capture user-specified parameters with
466461
# @add_custom_parameters. Adding custom parameters to 'step'
@@ -473,7 +468,6 @@ def init(obj, run_id=None, task_id=None, tags=None, **kwargs):
473468
obj.datastore.datastore_root = \
474469
obj.datastore.get_datastore_root_from_config(obj.echo)
475470

476-
obj.metadata.add_sticky_tags(tags=tags)
477471
runtime = NativeRuntime(obj.flow,
478472
obj.graph,
479473
obj.datastore,

metaflow/plugins/aws/step_functions/step_functions.py

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -635,11 +635,7 @@ def _step_cli(self,
635635
'--monitor=%s' % self.monitor.monitor_type,
636636
'--no-pylint',
637637
'init',
638-
'--run-id sfn-$METAFLOW_RUN_ID',
639-
'--task-id %s' % task_id_params]
640-
# Assign tags to run object
641-
if self.tags:
642-
params.extend('--tag %s' % tag for tag in self.tags)
638+
'--run-id sfn-$METAFLOW_RUN_ID']
643639

644640
# If the start step gets retried, we must be careful not to
645641
# regenerate multiple parameters tasks. Hence we check first if

0 commit comments

Comments
 (0)