From 213248617f41467378bce5d4f9f97adab63eec68 Mon Sep 17 00:00:00 2001 From: Brandon Butler Date: Fri, 13 Oct 2023 10:55:49 -0400 Subject: [PATCH] doc: Small cleanup simplification. --- flow/hooks/log_operations.py | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) 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):