-
Notifications
You must be signed in to change notification settings - Fork 983
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
add python sdk for SL #5801
add python sdk for SL #5801
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
--- | ||
title: "Python SDK" | ||
id: sl-python | ||
description: "Learn how to use the dbt Semantic Layer SDK for Python library to interact with the dbt Semantic Layer." |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We're calling it the Python SDK everywhere else, but the Semantic Layer SDK here. Might be a little confusing
Co-authored-by: Matt Shaver <[email protected]>
Co-authored-by: Matt Shaver <[email protected]>
Co-authored-by: Matt Shaver <[email protected]>
Co-authored-by: Matt Shaver <[email protected]>
Co-authored-by: Matt Shaver <[email protected]>
|
||
The SDK returns all query data as [pyarrow](https://arrow.apache.org/docs/python/index.html) tables. | ||
|
||
The SDK library doesn't come bundled with [Polars](https://pola.rs/) or [Pandas](https://pandas.pydata.org/). If you use these libraries, add them as dependencies in your project. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The SDK library doesn't come bundled with [Polars](https://pola.rs/) or [Pandas](https://pandas.pydata.org/). If you use these libraries, add them as dependencies in your project. | |
If you use [Polars](https://pola.rs/) or [Pandas](https://pandas.pydata.org/) libraries, you need to add them as dependencies in your project. This is because the SDK library provides you with the flexibility to choose your data processing tool and doesn't come bundled with them. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
this pr adds the new python sdk for the dbt SL. this sdk allows users to query metrics using python.
https://github.com/dbt-labs/semantic-layer-sdk-python
linear: https://linear.app/dbt-labs/issue/SL-2459/write-docs-for-the-sdk#comment-1f9d571c