MCPcopy 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_counterFunction · 0.95
style_factory_outputFunction · 0.80
connectMethod · 0.80
extend_keywordsMethod · 0.80
extend_schemataMethod · 0.80
extend_query_historyMethod · 0.80

Calls 2

update_keywordsMethod · 0.95
update_namesMethod · 0.95

Tested by 1

test_prevalence_counterFunction · 0.76