(cls, obj)
return obj
Convert the list of tuples in obj.value to strings.
Convert the list of tuples in obj.value to strings.
Convert the list of tuples in obj . value to strings .
def transformFromNative(cls, obj):
        """
        Convert the list of tuples in obj.value to strings.
        """
        if obj.isNative:
            obj.isNative = False
            transformed = []
            for tup in obj.value:
                transformed.append(periodToString(tup, cls.forceUTC))
            if len(transformed) > 0:
                tzid = TimezoneComponent.registerTzinfo(tup[0].tzinfo)
                if not cls.forceUTC and tzid is not None:
                    obj.tzid_param = tzid

            obj.value = ','.join(transformed)

        return obj
def transformFromNative ( cls , obj ) : if obj . isNative : obj . isNative = False transformed = [ ] for tup in obj . value : transformed . append ( periodToString ( tup , cls . forceUTC ) ) if len ( transformed ) > 0 : tzid = TimezoneComponent . registerTzinfo ( tup [ 0 ] . tzinfo ) if not cls . forceUTC and tzid is not None : obj . tzid_param = tzid obj . value = ',' . join ( transformed ) return obj