Skip to content
Snippets Groups Projects
Commit 2ea925ef authored by Yan Sushchynski (EPAM)'s avatar Yan Sushchynski (EPAM)
Browse files

Merge branch 'fix_other_relevant_country_naming' into 'master'

Fix otherRelevantDataCountries naming

See merge request osdu/platform/system/sdks/common-python-sdk!102

(cherry picked from commit 213407a2)

345e2639 Fix otherRelevantDataCountries naming
parent 8def2b84
3 merge requests!140Cherry pick from M16 master,!126fix: Update otherRelevantCountry field in legal field,!103cherry-pick-213407a2: fix other relevant country naming
Pipeline #169574 passed
......@@ -22,12 +22,15 @@ class Legal:
def __init__(self, legaltags: list, other_relevant_data_countries: list, status: str):
self.legaltags = legaltags
self.other_relevant_data_countries = other_relevant_data_countries
# have to preserve this camel case name, because the base class uses name attributes to jsonfy
# the class
self.otherRelevantDataCountries = other_relevant_data_countries
self.status = status
def get_dict(self):
legal_dict = {}
legal_dict['legaltags'] = self.legaltags
legal_dict['otherRelevantDataCountries'] = self.other_relevant_data_countries
legal_dict['otherRelevantDataCountries'] = self.otherRelevantDataCountries
legal_dict['status'] = str(self.status)
return legal_dict
\ No newline at end of file
return legal_dict
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment