https://prefect.io logo
Title
s

Stéphan Taljaard

03/14/2022, 10:14 AM
Hi. Are (some) values from config.toml exposed through the GQL API? I want to confirm the current active GQL query timeout value, but don't have direct access to the server to check the config.toml file.
a

Anna Geller

03/14/2022, 10:21 AM
Good question, I haven't tested that, but can you try to perhaps print the value of:
prefect.context.config.cloud.request_timeout
within some task triggered on your Server backend
🙌 1
k

Kevin Kho

03/14/2022, 1:47 PM
I don’t think they are exposed through the GQL API because they are already instantiated when you import prefect
s

Stéphan Taljaard

03/14/2022, 2:52 PM
👍 Context works well enough for me. Thanks guys
👍 1