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

Method get_completions

pgcli/main.py:1304–1306  ·  view source on GitHub ↗
(self, text, cursor_positition)

Source from the content-addressed store, hash-verified

1302 self.completer = new_completer
1303
1304 def get_completions(self, text, cursor_positition):
1305 with self._completer_lock:
1306 return self.completer.get_completions(Document(text=text, cursor_position=cursor_positition), None)
1307
1308 def get_prompt(self, string):
1309 # should be before replacing \\d

Calls

no outgoing calls