MCPcopy Index your code
hub / github.com/pgadmin-org/pgadmin4 / check_args

Method check_args

web/pgadmin/browser/utils.py:249–261  ·  view source on GitHub ↗
(self, **kwargs)

Source from the content-addressed store, hash-verified

247 # Check the existance of all the required arguments from parent_ids
248 # and return combination of has parent arguments, and has id arguments
249 def check_args(self, **kwargs):
250 has_id = has_args = True
251 for p in self.parent_ids:
252 if p['id'] not in kwargs:
253 has_args = False
254 break
255
256 for p in self.ids:
257 if p['id'] not in kwargs:
258 has_id = False
259 break
260
261 return has_args, has_id and has_args
262
263 def dispatch_request(self, *args, **kwargs):
264 http_method = flask.request.method.lower()

Callers 1

dispatch_requestMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected