@Marvin i still got this ceback (most recent call last):
File "F:\sabiflows\flows\flow2.py", line 26, in <module>
flow1.from_source(
File "F:\sabiflows\flows\.venv\lib\site-packages\prefect\_internal\compatibility\async_dispatch.py", line 94, in wrapper
return fn(*args, **kwargs)
TypeError: Flow.from_source() got an unexpected keyword argument 'credentials'
05
2852.097 | WARNING | EventsWorker - Still processing items: 1 items remaining... using this from prefect.blocks.system import Secret
flow1.from_source(
source="
https://github.com/sabiagents/flows.git",
entrypoint="flow2.py:flow1",
credentials={
"access_token": Secret.load("ghtoken").get()
}
).deploy(
name="flow1",
work_pool_name="default",
job_variables={
"env": {
"EXTRA_PIP_PACKAGES": "-r requirements.txt"
}
}