MCPcopy Index your code
hub / github.com/dbcli/mycli / get

Method get

mycli/packages/special/favoritequeries.py:49–50  ·  view source on GitHub ↗
(self, name)

Source from the content-addressed store, hash-verified

47 return list(self.config.get(self.section_name, {}))
48
49 def get(self, name) -> str | None:
50 return self.config.get(self.section_name, {}).get(name, None)
51
52 def save(self, name: str, query: str) -> None:
53 self.config.encoding = "utf-8"

Callers 15

MyCliClass · 0.45
__init__Method · 0.45
_Function · 0.45
run_from_cli_argsFunction · 0.45
configure_pagerMethod · 0.45
format_sqlresultMethod · 0.45
get_col_typeMethod · 0.45
normalize_ssl_modeFunction · 0.45
llm_prompt_truncationFunction · 0.45
_create_ssl_ctxMethod · 0.45

Calls

no outgoing calls