-
Notifications
You must be signed in to change notification settings - Fork 234
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
Policy Changes to support Py 3.11 #543
Conversation
Thank you for your pull request! We could not find a changelog entry for this change. For details on how to document a change, see the dbt-spark contributing guide. |
@@ -171,7 +171,7 @@ def list_relations_without_caching( | |||
return relations | |||
|
|||
def get_relation(self, database: str, schema: str, identifier: str) -> Optional[BaseRelation]: | |||
if not self.Relation.include_policy.database: | |||
if not self.Relation.get_default_include_policy().database: |
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.
@ChenyuLInx does this still make sense? Just looping you in for python models impact sanity check
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.
I am not familiar with include_policy, but as long as the relations are still the same, I think it won't affect python models
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.
Fantastic work!
resolves #542
Description
Checklist
changie new
to create a changelog entry