示例#1
0
 def object_from_dict(cls, personnel_attributes):
     """Create the Personnel object representation from an input dictionary"""
     personnel_type = common_binding.PersonnelType()
     for contributor_dict in personnel_attributes:
         contributor_type = Contributor.object_from_dict(contributor_dict)
         if contributor_type.hasContent_(): personnel_type.add_Contributor(contributor_type)
     return personnel_type