-
Notifications
You must be signed in to change notification settings - Fork 2.9k
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(ingest/transform): extend ownership transformer to other entities #11700
Conversation
Hello @anshbansal 😄 Thank you so much for opening a pull request!
|
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 think overall we should refactor our transformers, it's strange that we are having more generic transformer OwnershipTransformer
inheriting from less generic one DatasetTransformer
- it will of course work, but I think we should consider, not as a part of this PR, to refactor all our transformers and allow for other entities to be transformed (there are other requests related to, for example, tagging other entities than datasets).
We really need at least one test case for the new transformer though.
Also shouldn't we add new transformer to the list of transformers in setup.py?
@skrydal There is no new transformer. It's name has not been changed. It is the same transformer so no need to change in |
You are right, sorry. So the essence of the change here is that Also, I understand that in the test case if we kept the DataJob we would have 2 more aspects in the output - first that of DataJobInfo and second Ownership (for dataJob this time). Wouldn't it exemplify the nature of the change introduced better? |
This reverts commit 3a68378.
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.
LGTM
Thank you so muck to extend this transformer! But, isn't there any updated markdown files to be changed to document this improvement? |
Checklist