MCPcopy Create free account
hub / github.com/StackStorm/st2 / __init__

Method __init__

st2api/st2api/controllers/resource.py:115–124  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

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

Callers 1

__init__Method · 0.45

Calls 1

updateMethod · 0.45

Tested by

no test coverage detected