(self)
| 113 | get_one_db_method = None |
| 114 | |
| 115 | def __init__(self): |
| 116 | self.supported_filters = copy.deepcopy(self.__class__.supported_filters) |
| 117 | self.supported_filters.update(RESERVED_QUERY_PARAMS) |
| 118 | |
| 119 | self.filter_transform_functions = copy.deepcopy( |
| 120 | self.__class__.filter_transform_functions |
| 121 | ) |
| 122 | self.filter_transform_functions.update(DEFAULT_FILTER_TRANSFORM_FUNCTIONS) |
| 123 | |
| 124 | self.get_one_db_method = self._get_by_name_or_id |
| 125 | |
| 126 | # Maximum value of limit which can be specified by user |
| 127 | @property |