Skip to content

Commit 7f5cf02

Browse files
committed
add fix to problem during deployment
* got a coroutine error when attempting to do 'prefect deploy'. adding this kwarg to the load function was proposed by Prefect to fix this
1 parent 393399c commit 7f5cf02

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

utils.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
LOCATION = "srx"
77

88
def get_tiled_client():
9-
os.environ["TILED_API_KEY"] = Secret.load(f"tiled-{LOCATION}-api-key").get()
9+
os.environ["TILED_API_KEY"] = Secret.load(f"tiled-{LOCATION}-api-key", _sync=True).get()
1010
tiled_client = from_profile("nsls2")[LOCATION]
1111
os.environ.pop("TILED_API_KEY")
1212
return tiled_client

0 commit comments

Comments
 (0)