def __unmarshall_primitive()

in enrichment_function/schema/aws/securityhub/securityhubfindingsimported/marshaller.py [0:0]


    def __unmarshall_primitive(cls, data, typeName):
        try:
            return typeName(data)
        except UnicodeEncodeError:
            return six.text_type(data)
        except TypeError:
            return data