-
Notifications
You must be signed in to change notification settings - Fork 46
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
feat(actions): add docs propagation action for columns #130
feat(actions): add docs propagation action for columns #130
Conversation
# No need to propagate to self | ||
return None | ||
|
||
if not dataset_urn.startswith("urn:li:dataset"): |
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.
we have utils e.g. from datahub.metadata.urns import Dataset
or guess_entity_type
- this startswith check feels a bit too hardcoded
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 have seen this in a code quite a bit recently. i agree with avoiding raw strings for urn checks. seems like python sdk should have internal utilities for all of this
This PR introduces a new DocPropagationAction for column-level documentation propagation.
Key features include:
As seen in DataHub townhall - https://youtu.be/hdqgjxiW-zI?t=2051