Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion docs/metaflow/composing-flows/custom-decorators.md
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,8 @@ python waiterflow.py run --with myprofiler.my_profile --with kubernetes
or equally `--with batch`. Notably, the decorators don't have to exist in the same [directory
hierarchy as your flow code](/scaling/dependencies/project-structure), nor you have to include them with `@pypi`.

If your custom decorator is part of a Python package with multiple modules, Metaflow will automatically package the entire package. This allows you to implement advanced decorators as well-structured Python packages, which can be distributed internally via your internal package repository or published to PyPI. If your decorator requires third-party dependencies, you can include them using a bundled `@pypi` decorator, as shown in [this example](#).
If your custom decorator is part of a Python package with multiple modules, Metaflow will automatically package the entire package. This allows you to implement advanced decorators as well-structured Python packages, which can be distributed internally via your internal package repository or published to PyPI. If your decorator requires third-party dependencies, you can include them using a bundled `@pypi` decorator, as shown in
[this example](/metaflow/composing-flows/mutators#applying-multiple-decorators-with-a-step-mutator).

## Configuring decorators and managing state

Expand Down
Loading