Skip to content

Commit

Permalink
Fixed code example
Browse files Browse the repository at this point in the history
  • Loading branch information
vlacina-r7 committed Mar 12, 2024
1 parent 81cf43d commit 2c01d92
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/supervisor.md
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ It is possilbe to programatically invoke a `Supervisor` if you would like to doc
Be sure to pay attention to the `worker_module_name` parameter. Depending on the command line CWD, Python determines the module name. Look at `benchmark/1_simple_worker/sergeant/supervisor.py` to see how to work with module names when the 'supervisor.py' file is in the same folder as the worker module.

```python
import sergeant
import sergeant.supervisor


def main():
Expand Down

0 comments on commit 2c01d92

Please sign in to comment.