MCPcopy
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_methodMethod · 0.45
teardown_methodMethod · 0.45
setup_methodMethod · 0.45
teardown_methodMethod · 0.45
setup_methodMethod · 0.45
teardown_methodMethod · 0.45
setup_methodMethod · 0.45
teardown_methodMethod · 0.45
setup_methodMethod · 0.45
teardown_methodMethod · 0.45
setup_methodMethod · 0.45

Calls

no outgoing calls

Tested by 15

setup_methodMethod · 0.36
teardown_methodMethod · 0.36
setup_methodMethod · 0.36
teardown_methodMethod · 0.36
setup_methodMethod · 0.36
teardown_methodMethod · 0.36
setup_methodMethod · 0.36
teardown_methodMethod · 0.36
setup_methodMethod · 0.36
teardown_methodMethod · 0.36
setup_methodMethod · 0.36