MCPcopy Create free account
hub / github.com/Project-MONAI/MONAI / reset

Method reset

monai/bundle/reference_resolver.py:65–71  ·  view source on GitHub ↗

Clear all the added `ConfigItem` and all the resolved content.

(self)

Source from the content-addressed store, hash-verified

63 self.resolved_content: dict[str, ConfigExpression | str | Any | None] = {}
64
65 def reset(self):
66 """
67 Clear all the added `ConfigItem` and all the resolved content.
68
69 """
70 self.items = {}
71 self.resolved_content = {}
72
73 def is_resolved(self) -> bool:
74 return bool(self.resolved_content)

Callers 5

__setitem__Method · 0.45
__delitem__Method · 0.45
__setitem__Method · 0.45
parseMethod · 0.45
_set_propertyMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected