Skip to content

Commit 8a0947f

Browse files
committed
add to base sl client
1 parent a2bd83d commit 8a0947f

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

dbtsl/client/base.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ def __init__(
4040
gql_factory: GraphQLClientFactory[TGQLClient],
4141
adbc_factory: ADBCClientFactory[TADBCClient],
4242
timeout: Optional[Union[TimeoutOptions, float, int]] = None,
43-
requests_headers: Optional[dict[str, str]] = None,
43+
client_partner_source: Optional[str] = None,
4444
) -> None:
4545
"""Initialize the Semantic Layer client.
4646
@@ -51,7 +51,7 @@ def __init__(
5151
gql_factory: class of the underlying GQL client
5252
adbc_factory: class of the underlying ADBC client
5353
timeout: `TimeoutOptions` or total timeout for the underlying GraphQL client.
54-
requests_headers: additional headers to pass to the requests, optional
54+
client_partner_source: Pass a dbt partner source header for traffic source tracking
5555
"""
5656
self._has_session = False
5757

@@ -63,6 +63,7 @@ def __init__(
6363
auth_token=auth_token,
6464
url_format=env.GRAPHQL_URL_FORMAT,
6565
timeout=timeout,
66+
client_partner_source=client_partner_source,
6667
)
6768
self._adbc = adbc_factory(
6869
server_host=host,

0 commit comments

Comments
 (0)