15 lines
407 B
Python
15 lines
407 B
Python
|
|
import sys
|
||
|
|
from pathlib import Path
|
||
|
|
sys.path.insert(0, str(Path(__file__).parent))
|
||
|
|
sys.path.insert(0, str(Path(__file__).parent.parent / "external_factors"))
|
||
|
|
|
||
|
|
from exf_prefect_flow import exf_live_flow
|
||
|
|
|
||
|
|
if __name__ == "__main__":
|
||
|
|
# Deploy to the dolphin work pool
|
||
|
|
exf_live_flow.deploy(
|
||
|
|
name="exf-live-v2",
|
||
|
|
work_pool_name="dolphin",
|
||
|
|
image=None, # Use local environment
|
||
|
|
)
|