14 lines
374 B
Python
14 lines
374 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__":
|
||
|
|
# Serve the flow locally
|
||
|
|
exf_live_flow.serve(
|
||
|
|
name="exf-live-v2",
|
||
|
|
interval=0, # Run continuously (not scheduled)
|
||
|
|
)
|