Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
Index your code
hub
/
github.com/dbcli/pgcli
/ update
Method
update
pgcli/packages/prioritization.py:29–31 ·
view source on GitHub ↗
(self, text)
Source
from the content-addressed store, hash-verified
27
self.name_counts = defaultdict(int)
28
29
def
update(self, text):
30
self.update_keywords(text)
31
self.update_names(text)
32
33
def
update_names(self, text):
34
for
parsed in sqlparse.parse(text):
Callers
6
test_prevalence_counter
Function · 0.95
style_factory_output
Function · 0.80
connect
Method · 0.80
extend_keywords
Method · 0.80
extend_schemata
Method · 0.80
extend_query_history
Method · 0.80
Calls
2
update_keywords
Method · 0.95
update_names
Method · 0.95
Tested by
1
test_prevalence_counter
Function · 0.76