Skip to content

Commit

Permalink
doc: Small cleanup simplification.
Browse files Browse the repository at this point in the history
  • Loading branch information
b-butler authored Oct 13, 2023
1 parent 6287212 commit 2132486
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions flow/hooks/log_operations.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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):
Expand Down

0 comments on commit 2132486

Please sign in to comment.