MCPcopy Index your code
hub / github.com/ddserver/ddserver / extend

Function extend

ddserver/utils/deps.py:152–162  ·  view source on GitHub ↗

Decorator to extend a export. The decorated function is used to extend the export specified by the given name.

(requirement)

Source from the content-addressed store, hash-verified

150
151
152def extend(requirement):
153 ''' Decorator to extend a export.
154
155 The decorated function is used to extend the export specified by the given
156 name.
157 '''
158
159 def wrapper(func):
160 Export.load(requirement).extend(extend = func)
161
162 return wrapper

Callers 1

instanceMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected