Skip to content
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

Jsummer/add dbt model instructions #165

Merged
merged 5 commits into from
Sep 25, 2024

Conversation

sfc-gh-jsummer
Copy link
Collaborator

Add explicit instructions for dbt SQL models vs. dbt semantic models. Distinguish Looker integration as support for Explore specifically. Lastly, resolve bug with previously validated semantic file not registered when merging partner metadata.

@@ -24,13 +24,19 @@ def set_partner_instructions() -> None:
"""

if st.session_state.get("partner_tool", None):
if st.session_state["partner_tool"] == "dbt":
from admin_apps.partner.dbt import DBT_IMAGE, DBT_INSTRUCTIONS
if st.session_state["partner_tool"] == "dbt - SQL Model":
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

not required, but if we feel like these raw strings of the selected partner tool appear in lots of places of the codebase, might be worth defining an enum for them.

@sfc-gh-jsummer sfc-gh-jsummer merged commit e9ff486 into main Sep 25, 2024
2 checks passed
@sfc-gh-jsummer sfc-gh-jsummer deleted the jsummer/add-dbt-model-instructions branch September 25, 2024 13:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants