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

Method details

web/pgadmin/tools/import_export/__init__.py:137–150  ·  view source on GitHub ↗
(self, cmd, args)

Source from the content-addressed store, hash-verified

135 return _type_desc + _("Copying table data")
136
137 def details(self, cmd, args):
138 # Fetch the server details like hostname, port, roles etc
139 if self.schema is None and self.table is None:
140 object_str = "{0}".format(self.database)
141 else:
142 object_str = "{0}/{1}.{2}".format(self.database, self.schema,
143 self.table)
144 return {
145 "message": self.message,
146 "cmd": self._cmd,
147 "server": self.get_server_name(),
148 "object": object_str,
149 "type": _("Import Data") if self.is_import else _("Export Data")
150 }
151
152
153@blueprint.route("/")

Callers 1

runTestMethod · 0.95

Calls 1

get_server_nameMethod · 0.95

Tested by 1

runTestMethod · 0.76