Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
test_from_config_returns_instance_with_same_config
Function · 0.80
Calls
1
FavoriteQueries
Class · 0.85
Tested by
1
test_from_config_returns_instance_with_same_config
Function · 0.64