Skip to content

Commit 0aa9fd4

Browse files
committed
add to base sl client
1 parent fe65540 commit 0aa9fd4

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

dbtsl/client/base.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,7 @@ def __init__(
4040
gql_factory: GraphQLClientFactory[TGQLClient],
4141
adbc_factory: ADBCClientFactory[TADBCClient],
4242
timeout: Optional[Union[TimeoutOptions, float, int]] = None,
43+
client_partner_source: Optional[str] = None,
4344
) -> None:
4445
"""Initialize the Semantic Layer client.
4546
@@ -50,6 +51,7 @@ def __init__(
5051
gql_factory: class of the underlying GQL client
5152
adbc_factory: class of the underlying ADBC client
5253
timeout: `TimeoutOptions` or total timeout for the underlying GraphQL client.
54+
client_partner_source: Pass a dbt partner source header for traffic source tracking
5355
"""
5456
self._has_session = False
5557

@@ -61,6 +63,7 @@ def __init__(
6163
auth_token=auth_token,
6264
url_format=env.GRAPHQL_URL_FORMAT,
6365
timeout=timeout,
66+
client_partner_source=client_partner_source
6467
)
6568
self._adbc = adbc_factory(
6669
server_host=host,

0 commit comments

Comments
 (0)