MCPcopy Create free account
hub / github.com/dbcli/mycli / from_config

Method from_config

mycli/packages/special/favoritequeries.py:43–44  ·  view source on GitHub ↗
(cls, config)

Source from the content-addressed store, hash-verified

41
42 @classmethod
43 def from_config(cls, config):
44 return FavoriteQueries(config)
45
46 def list(self) -> list[str | None]:
47 return list(self.config.get(self.section_name, {}))

Callers 2

__init__Method · 0.80

Calls 1

FavoriteQueriesClass · 0.85