-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: show data custodians if available
I've left data owner in until we have correctly populated the custodians in Datahub.
- Loading branch information
Showing
5 changed files
with
97 additions
and
65 deletions.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -102,7 +102,7 @@ def request_access(self): | |
def contact_channels(self): | ||
return self.selenium.find_element(By.ID, "contact_channels") | ||
|
||
def data_owner(self): | ||
def data_owner_or_custodian(self): | ||
return self.selenium.find_element(By.ID, "data_owner") | ||
|
||
|
||
|
@@ -471,6 +471,9 @@ def generate_database_metadata( | |
data_stewards=[ | ||
OwnerRef(display_name="", email="Contact email for the user", urn="") | ||
], | ||
data_custodians=[ | ||
OwnerRef(display_name="", email="[email protected]", urn="") | ||
], | ||
), | ||
tags=[TagRef(display_name="some-tag", urn="urn:li:tag:Entity")], | ||
glossary_terms=[ | ||
|
Oops, something went wrong.