-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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
CT-2691 Fix the populating of a Metric
's depends_on
property
#8015
Merged
QMalcolm
merged 18 commits into
main
from
ct-2691--fix-metric-node-depends-on-population
Jul 12, 2023
Merged
Changes from 11 commits
Commits
Show all changes
18 commits
Select commit
Hold shift + click to select a range
e3ff212
Add metrics from metric type params to a metric's depends_on
QMalcolm 3812738
Add Lookup utility for finding `SemanticModel`s by measure names
QMalcolm 62b7ce4
Add the `SemanticModel` of a `Metric`'s measure property to the `Metr…
QMalcolm 19ba616
Add `SemanticModelConfig` to `SemanticModel`
QMalcolm dbe943b
Checkpoint on test fixing
QMalcolm 63a7aca
Correct metricflow_time_spine_sql in test fixtures
QMalcolm 7e1cffa
Add check for `SemanticModel` nodes in `Linker.link_node`
QMalcolm a064146
Fix artifacts/test_previous_version_state.py tests
gshank 087b627
fix access/test_access.py tests
gshank 1ae9763
Fix function metric tests
QMalcolm 10f1c26
Fix functional partial_parsing tests
QMalcolm 41a52c5
Merge branch 'main' into ct-2691--fix-metric-node-depends-on-population
QMalcolm fb67d0a
Add time dimension to semantic model in exposures fixture
QMalcolm ba230f1
Bump DSI version to a minimum of 0.1.0dev10
QMalcolm d476e54
Add test specifically for checking the `depends_on` of `Metric` nodes
QMalcolm 2caf63d
Re-enable test asserting calling metric nodes in models
QMalcolm 6a0af56
Migrate `checked_agg_time_dimension` to `checked_agg_time_dimension_f…
QMalcolm 0080a21
Add changie doc for populating metric
QMalcolm File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
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
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
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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.
Nit
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 checked-in code follows the paradigm of all the other
*_lookup
properties. I'm also biased because if we're specifically checking forNone
, then we should specifically check againstNone
. Python can have many weirdfalse-y
states. It'd be weird if any cropped up here, but we are specifically checking againstNone
intentionally