MCPcopy Create free account
hub / github.com/hugapi/hug / cleanup_parameters

Method cleanup_parameters

hug/interface.py:354–357  ·  view source on GitHub ↗
(parameters, exception=None)

Source from the content-addressed store, hash-verified

352
353 @staticmethod
354 def cleanup_parameters(parameters, exception=None):
355 for _parameter, directive in parameters.items():
356 if hasattr(directive, "cleanup"):
357 directive.cleanup(exception=exception)
358
359 @staticmethod
360 def initialize_handler(handler, value, context):

Callers 3

__call__Method · 0.80
__call__Method · 0.80
__call__Method · 0.80

Calls 1

cleanupMethod · 0.45

Tested by

no test coverage detected