piwebasync/api/models.py
def _serialize_params(self, params: Dict[str, Any]):
        """Serialize semi colon and multi instance params to URL safe strings"""
        # serialize semi colon params
        for validate in self.SEMI_COLON_PARAMS:
            param = params.get(validate)
            if param is not None:
                serialized = serialize_semi_colon_separated(param)
                params.update({validate: serialized})
        # validate multi instance params
        for validate, key in self.MULTI_INSTANCE_PARAMS.items():
            param = params.get(validate)
            if param is not None:
                serialized = serialize_multi_instance(key, param)
                params.pop(validate)
                params.update({key: serialized})
        return params
Serialize semi colon and multi instance params to URL safe strings
Serialize semi colon and multi instance params to URL safe strings
Serialize semi colon and multi instance params to URL safe strings
def _serialize_params(self, params: Dict[str, Any]):
        for validate in self.SEMI_COLON_PARAMS:
            param = params.get(validate)
            if param is not None:
                serialized = serialize_semi_colon_separated(param)
                params.update({validate: serialized})
        for validate, key in self.MULTI_INSTANCE_PARAMS.items():
            param = params.get(validate)
            if param is not None:
                serialized = serialize_multi_instance(key, param)
                params.pop(validate)
                params.update({key: serialized})
        return params
def _serialize_params ( self , params : Dict [ str , Any ] ) : for validate in self . SEMI_COLON_PARAMS : param = params . get ( validate ) if param is not None : serialized = serialize_semi_colon_separated ( param ) params . update ( { validate : serialized } ) for validate , key in self . MULTI_INSTANCE_PARAMS . items ( ) : param = params . get ( validate ) if param is not None : serialized = serialize_multi_instance ( key , param ) params . pop ( validate ) params . update ( { key : serialized } ) return params
Serialize semi colon and multi instance params to URL safe strings
Serialize semi colon and multi instance params to URL safe strings
"""Serialize semi colon and multi instance params to URL safe strings""" # serialize semi colon params
 # validate multi instance params

self
params
Dict[str, Any]