-
Notifications
You must be signed in to change notification settings - Fork 97
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
Update LinkableSpecName.from_name
to parse custom grains
#1496
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 contributing guide. |
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.
Got a few suggestions, especially around performance! But otherwise looks great!
metricflow-semantics/metricflow_semantics/naming/linkable_spec_name.py
Outdated
Show resolved
Hide resolved
metricflow-semantics/metricflow_semantics/model/semantics/semantic_model_lookup.py
Outdated
Show resolved
Hide resolved
bb06c31
to
0b47079
Compare
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.
Looks great!! 🚀 🚀
Context
With the addition of custom granularities, when we parse the dundered names via
LinkableSpecName.from_name
, we need to be able to know whether the grain provided is a custom grain. This means we need to pass that information through to this classmethod.Resolves SL-2971