Ruslan
06/28/2021, 2:23 PMflow.storage = GitHub(secrets=["github"],
repo="corp/etl",
path="flows/flow.py")
and error:
Repo 'corp/etl' not found. Check that it exists (and is spelled correctly), and that you have configured the proper credentials for accessing it.
TypeError: __init__() got an unexpected keyword argument 'access_token_secret'
Kevin Kho
flow.storage = GitHub(repo="my_org/repo_name",
path="prefect_flows/flows/flow.py",
ref="trunk",
access_token_secret="GITHUB_ACCESS_TOKEN",)
GITHUB_ACCESS_TOKEN
is a secret that contains the access tokenRuslan
06/28/2021, 4:15 PMTypeError: __init__() got an unexpected keyword argument 'access_token_secret'
Kevin Kho
Ruslan
06/28/2021, 4:20 PMKevin Kho
Ruslan
06/28/2021, 4:35 PMKevin Kho
Ruslan
06/28/2021, 4:49 PMFailed to load and execute Flow's environment: ModuleNotFoundError("No module named 'replicator'",)
Kevin Kho
Ruslan
06/28/2021, 5:23 PMI believe it’s the path that you start it from.exactly thank you Kevin!!