Skip to content
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

[Breaking] Update to GMA 0.2.0 and fix Urn definitions. #1977

Merged
merged 3 commits into from
Nov 12, 2020
Merged

[Breaking] Update to GMA 0.2.0 and fix Urn definitions. #1977

merged 3 commits into from
Nov 12, 2020

Conversation

jplaisted
Copy link
Contributor

@jplaisted jplaisted commented Oct 29, 2020

Urn definitions needed to be updated since 0.2.0 changed the base Urn class.

I also added some more urn coercers that were missing.

Checklist

  • The PR conforms to DataHub's Contributing Guideline (particularly Commit Message Format)
  • Links to related issues (if applicable)
  • Tests for the changes have been added/updated (if applicable)
  • Docs related to the changes have been added/updated (if applicable)

Urn definitions needed to be updated since 0.2.0 changed the base Urn class. But while I was here also changed "fieldNameEntity" to just "fieldName" for many fields in many urns. I don't know why these fields had different names than the urn definition (extra "entity" suffix), but I figured I'd fix that while I was here.

I also added some more urn coercers that were missing.
@jplaisted jplaisted requested a review from keremsahin1 October 29, 2020 20:54
Looking internally, we have both methods. But the non-entity versions are deprecated. I'm not sure why. But let's be consistent.
@mars-lan mars-lan added the hacktoberfest-accepted Acceptance for hacktoberfest https://hacktoberfest.com/participation/ label Oct 31, 2020
@jplaisted jplaisted merged commit 60e4306 into datahub-project:master Nov 12, 2020
@jplaisted jplaisted deleted the update branch November 12, 2020 00:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
hacktoberfest-accepted Acceptance for hacktoberfest https://hacktoberfest.com/participation/
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants