MCPcopy
hub / github.com/dbcli/pgcli / run

Method run

tests/test_init_commands_simple.py:15–21  ·  view source on GitHub ↗
(self, cmd)

Source from the content-addressed store, hash-verified

13
14 class DummyExec:
15 def run(self, cmd):
16 # Ignore ping SELECT 1 commands used for exiting CLI
17 if cmd.strip().upper() == "SELECT 1":
18 return []
19 # Record init commands
20 dummy_cmds.append(cmd)
21 return []
22
23 def get_timezone(self):
24 return "UTC"

Callers 8

runFunction · 0.45
test_not_is_specialFunction · 0.45
test_describe_specialFunction · 0.45
test_on_error_resumeFunction · 0.45
test_on_error_stopFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected