Skip to content

client

execute module-attribute

execute = _translate_gql_errors(Client.execute)

Execute query against the configured NannyML Cloud GraphQL API.

Raises:

Type Description
ApiError

If the GraphQL query fails.

get_client

get_client() -> Client

Get the active GraphQL client or create a new one if none exists