Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/microsoft/PyRIT
/ reset_instance
Method
reset_instance
pyrit/registry/base.py:80–82 ·
view source on GitHub ↗
Reset the singleton instance.
(cls)
Source
from the content-addressed store, hash-verified
78
79
@classmethod
80
def
reset_instance(cls) -> None:
81
""
"Reset the singleton instance."
""
82
...
83
84
def
get_names(self) -> list[str]:
85
""
"Get a sorted list of all registered names."
""
Callers
15
setup_method
Method · 0.45
teardown_method
Method · 0.45
test_reset_instance_clears_singleton
Method · 0.45
setup_method
Method · 0.45
teardown_method
Method · 0.45
setup_method
Method · 0.45
teardown_method
Method · 0.45
setup_method
Method · 0.45
teardown_method
Method · 0.45
setup_method
Method · 0.45
teardown_method
Method · 0.45
setup_method
Method · 0.45
Calls
no outgoing calls
Tested by
15
setup_method
Method · 0.36
teardown_method
Method · 0.36
test_reset_instance_clears_singleton
Method · 0.36
setup_method
Method · 0.36
teardown_method
Method · 0.36
setup_method
Method · 0.36
teardown_method
Method · 0.36
setup_method
Method · 0.36
teardown_method
Method · 0.36
setup_method
Method · 0.36
teardown_method
Method · 0.36
setup_method
Method · 0.36