Solmaz Bagherpour
09/09/2022, 7:36 PMRob Freedy
09/09/2022, 7:47 PMscheduled_start_time
and date
https://docs-v1.prefect.io/api/latest/utilities/context.html#context-2
https://discourse.prefect.io/t/how-to-use-the-datetimeparameter-task-and-how-to-retrieve-the-scheduled-start-time-from-within-the-flow/487Serina
09/09/2022, 7:50 PMSolmaz Bagherpour
09/10/2022, 12:25 AMfrom prefect import Client
client = Client(api_key="our cloud API key")
response = client.graphql("my exact query string that works on UI")
print(response)
Passing our cloud API key to the client as param and it times out after retries, so I suspect I am still missing some other params or settings maybe. (I am running this locally on a container) any guidance here?Serina
09/10/2022, 12:28 AMclient.tenant_id
to determine the default tenant associated with the API keytenant_id
arg in Client
Solmaz Bagherpour
09/10/2022, 12:39 AM