-
Notifications
You must be signed in to change notification settings - Fork 99
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Revert "Move
_path_key_to_spec
to ElementPathKey
."
This reverts commit bcbf1bf. The original layout of linkable_element, with the private helper converting ElementPathKey to the relevant LinkableInstanceSpec, was intentionally placed to avoid circular dependencies with the WhereFilterSpec during predicate pushdown implementation. The code configuration from the reverted commit is nicer in many respects, but unfortunately an attempt to use it ran into circular dependencies as expected, and the TYPE_CHECKING work-around ultimately failed because of the way SerializableDataclass works. Since the SerializableDataclass mechanism is fully in use in the implementation of some dbt cloud extensions we cannot easily evalaute updates to that model here, and it is therefore much simpler to just revert this change and move forward.
- Loading branch information
Showing
3 changed files
with
53 additions
and
54 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters