def get_cdm_uuid(self, cdm):
cdm_uuid = cdm['datum']['uuid']
if type(cdm_uuid ) == unicode:
return str(cdm_uuid)
uuid_str = str(uuid.UUID(bytes = cdm_uuid))
return uuid_str
Created
June 25, 2020 14:07
-
-
Save jallen89/7f3bedf7942d64db79bc7ffa5274b221 to your computer and use it in GitHub Desktop.