MCPcopy Index your code
hub / github.com/dbcli/pgcli / get_table_formats

Method get_table_formats

pgcli/pgcompleter.py:795–797  ·  view source on GitHub ↗
(self, _, word_before_cursor)

Source from the content-addressed store, hash-verified

793 return self.find_matches(word_before_cursor, tables, meta="table")
794
795 def get_table_formats(self, _, word_before_cursor):
796 formats = TabularOutputFormatter().supported_formats
797 return self.find_matches(word_before_cursor, formats, meta="table format")
798
799 def get_view_matches(self, suggestion, word_before_cursor, alias=False):
800 views = self.populate_schema_objects(suggestion.schema, "views")

Callers

nothing calls this directly

Calls 1

find_matchesMethod · 0.95

Tested by

no test coverage detected