Skip to content

Commit a2bd83d

Browse files
committed
add docs
1 parent 8ddb2e4 commit a2bd83d

File tree

3 files changed

+4
-1
lines changed

3 files changed

+4
-1
lines changed

dbtsl/api/graphql/client/asyncio.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -61,6 +61,7 @@ def __init__(
6161
into a full URL. If `None`, the default `https://{server_host}/api/graphql`
6262
will be assumed.
6363
timeout: TimeoutOptions or total timeout (in seconds) for all GraphQL requests.
64+
client_partner_source: Pass a dbt partner source header for traffic source tracking
6465
6566
NOTE: If `timeout` is a `TimeoutOptions`, the `connect_timeout` will not be used, due to
6667
limitations of `gql`'s `aiohttp` transport.

dbtsl/api/graphql/client/sync.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,8 @@ def __init__(
5050
into a full URL. If `None`, the default `https://{server_host}/api/graphql`
5151
will be assumed.
5252
timeout: TimeoutOptions or total timeout (in seconds) for all GraphQL requests.
53+
client_partner_source: Pass a dbt partner source header for traffic source tracking
54+
5355
NOTE: If `timeout` is a `TimeoutOptions`, the `tls_close_timeout` will not be used, since
5456
`requests` does not support TLS termination timeouts.
5557
"""

tests/conftest.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@
33
from typing import Any, Callable, Dict, Union, cast
44

55
import pytest
6-
from gql import Client, gql
76
from dotenv import load_dotenv
7+
from gql import Client, gql
88
from gql.utilities.serialize_variable_values import serialize_variable_values
99

1010

0 commit comments

Comments
 (0)