MCPcopy Index your code
hub / github.com/dbcli/pgcli / refresher

Function refresher

pgcli/completion_refresher.py:90–99  ·  view source on GitHub ↗

Decorator to populate the dictionary of refreshers with the current function.

(name, refreshers=CompletionRefresher.refreshers)

Source from the content-addressed store, hash-verified

88
89
90def refresher(name, refreshers=CompletionRefresher.refreshers):
91 """Decorator to populate the dictionary of refreshers with the current
92 function.
93 """
94
95 def wrapper(wrapped):
96 refreshers[name] = wrapped
97 return wrapped
98
99 return wrapper
100
101
102@refresher("schemata")

Callers 1

_bg_refreshMethod · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected