Join Slack
Powered by
hi all, where should I insert my custom functions ...
# ask-community
m
Mariusz Olszewski
11/01/2020, 3:11 PM
hi all, where should I insert my custom functions to be visible by prefect?
a
Avi A
11/01/2020, 3:21 PM
the code should be available to the agent running the tasks. The simplest way to do so it to set the
PYTHONPATH
environment var:
Copy code
export PYTHONPATH=path/to/folder
where the folder is a folder containing your
Functions
package
m
Mariusz Olszewski
11/01/2020, 3:22 PM
thanks. solved 🙂
🚀 1
2
Views
Open in Slack
Previous
Next