diff --git a/flow/hooks/log_operations.py b/flow/hooks/log_operations.py index ffdfa2235..c9b815f96 100644 --- a/flow/hooks/log_operations.py +++ b/flow/hooks/log_operations.py @@ -41,9 +41,7 @@ def install_operation_log_hook(operation_name, project_cls): @install_operation_log_hook("foo", Project) - @Project.operation(directives={ - "submit_options": "--debug" # Always submit operation foo with the --debug flag - }) + @Project.operation def foo(job): pass @@ -53,7 +51,7 @@ def foo(job): .. code-block:: python from flow import FlowProject - from flow.hooks import LogOperations # Import build + from flow.hooks import LogOperations class Project(FlowProject):