swaggergenerator3/__init__.py
def _get_request_query_params_with_data_type(self, query_items):
        """Determine data type for request query params."""
        new_query_dict = {}
        for k, v in query_items:
            try:
                v = ast.literal_eval(v)
            except Exception:
                try:
                    v = json.loads(v)
                except Exception:
                    pass
            new_query_dict[k] = v
        return new_query_dict
Determine data type for request query params.
Determine data type for request query params.
Determine data type for request query params .
def _get_request_query_params_with_data_type(self, query_items):
        new_query_dict = {}
        for k, v in query_items:
            try:
                v = ast.literal_eval(v)
            except Exception:
                try:
                    v = json.loads(v)
                except Exception:
                    pass
            new_query_dict[k] = v
        return new_query_dict
def _get_request_query_params_with_data_type ( self , query_items ) : new_query_dict = { } for k , v in query_items : try : v = ast . literal_eval ( v ) except Exception : try : v = json . loads ( v ) except Exception : pass new_query_dict [ k ] = v return new_query_dict
Determine data type for request query params.
Determine data type for request query params .
"""Determine data type for request query params."""
self
query_items