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

Function check_attrib

web/pgadmin/utils/__init__.py:611–615  ·  view source on GitHub ↗
(attrib)

Source from the content-addressed store, hash-verified

609 continue
610
611 def check_attrib(attrib):
612 if attrib not in obj:
613 return gettext("'%s' attribute not found for server '%s'" %
614 (attrib, server))
615 return None
616
617 def check_is_integer(value):
618 if not isinstance(value, int):

Callers 1

validate_json_dataFunction · 0.85

Calls 1

gettextFunction · 0.85

Tested by

no test coverage detected