Skip to content

Commit 0aa2205

Browse files
committed
so many calls to plumb through
1 parent 8a0947f commit 0aa2205

6 files changed

Lines changed: 7 additions & 0 deletions

File tree

dbtsl/api/graphql/client/asyncio.pyi

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@ class AsyncGraphQLClient:
2222
auth_token: str,
2323
url_format: Optional[str] = None,
2424
timeout: Optional[Union[TimeoutOptions, float, int]] = None,
25+
client_partner_source: Optional[str] = None,
2526
) -> None: ...
2627
def session(self) -> AbstractAsyncContextManager[AsyncIterator[Self]]: ...
2728
@property

dbtsl/api/graphql/client/base.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -146,6 +146,7 @@ def __call__(
146146
auth_token: str,
147147
url_format: Optional[str] = None,
148148
timeout: Optional[Union[TimeoutOptions, float, int]] = None,
149+
client_partner_source: Optional[str] = None,
149150
) -> TClient:
150151
"""Initialize the Semantic Layer client.
151152
@@ -155,5 +156,6 @@ def __call__(
155156
auth_token: the API auth token
156157
url_format: the URL format string to construct the final URL with
157158
timeout: `TimeoutOptions` or total timeout
159+
client_partner_source: Pass a dbt partner source header for traffic source tracking
158160
"""
159161
pass

dbtsl/client/asyncio.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@ def __init__(
2626
auth_token: str,
2727
host: str,
2828
timeout: Optional[Union[TimeoutOptions, float, int]] = None,
29+
client_partner_source: Optional[str] = None,
2930
) -> None:
3031
"""Initialize the Semantic Layer client.
3132

dbtsl/client/asyncio.pyi

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ class AsyncSemanticLayerClient:
1515
auth_token: str,
1616
host: str,
1717
timeout: Optional[Union[TimeoutOptions, float, int]] = None,
18+
client_partner_source: Optional[str] = None,
1819
) -> None: ...
1920
@overload
2021
async def compile_sql(

dbtsl/client/sync.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@ def __init__(
2626
auth_token: str,
2727
host: str,
2828
timeout: Optional[Union[TimeoutOptions, float, int]] = None,
29+
client_partner_source: Optional[str] = None,
2930
) -> None:
3031
"""Initialize the Semantic Layer client.
3132

dbtsl/client/sync.pyi

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ class SyncSemanticLayerClient:
1515
auth_token: str,
1616
host: str,
1717
timeout: Optional[Union[TimeoutOptions, float, int]] = None,
18+
client_partner_source: Optional[str] = None,
1819
) -> None: ...
1920
@overload
2021
def compile_sql(

0 commit comments

Comments
 (0)