Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/dbcli/mycli
/ _parent_name
Function
_parent_name
mycli/packages/completion_engine.py:130–131 ·
view source on GitHub ↗
(ctx: SuggestContext)
Source
from the content-addressed store, hash-verified
128
129
130
def
_parent_name(ctx: SuggestContext) -> str | list[Any]:
131
return
(ctx.identifier and ctx.identifier.get_parent_name()) or []
132
133
134
def
_tables(ctx: SuggestContext) -> list[tuple[str | None, str, str]]:
Callers
6
test_parent_name_returns_identifier_parent
Function · 0.90
test_parent_name_returns_empty_list_without_parent
Function · 0.90
_emit_select_like
Function · 0.85
_emit_relation_like
Function · 0.85
_emit_relation_name
Function · 0.85
_emit_on
Function · 0.85
Calls
1
get_parent_name
Method · 0.80
Tested by
2
test_parent_name_returns_identifier_parent
Function · 0.72
test_parent_name_returns_empty_list_without_parent
Function · 0.72