MCPcopy Create free account
hub / github.com/pgadmin-org/pgadmin4 / _append_rows

Function _append_rows

web/pgadmin/tools/grant_wizard/__init__.py:295–301  ·  view source on GitHub ↗
(status, res, disp_type)

Source from the content-addressed store, hash-verified

293 node_types = res['rows']
294
295 def _append_rows(status, res, disp_type):
296 if not status:
297 current_app.logger.error(res)
298 failed_objects.append(disp_type)
299 else:
300 if len(res) > 0:
301 res_data.extend(res['rows'])
302
303 empty_schema_list = []
304 for row in node_types:

Callers 1

get_dataFunction · 0.85

Calls 3

errorMethod · 0.80
appendMethod · 0.80
extendMethod · 0.80

Tested by

no test coverage detected