MCPcopy Create free account
hub / github.com/AgentOps-AI/agentops / get_instance

Method get_instance

agentops/instrumentation/__init__.py:491–493  ·  view source on GitHub ↗

Create and return a new instance of the instrumentor.

(self)

Source from the content-addressed store, hash-verified

489 return False
490
491 def get_instance(self) -> BaseInstrumentor:
492 """Create and return a new instance of the instrumentor."""
493 return getattr(self.module, self.class_name)()
494
495
496def instrument_one(loader: InstrumentorLoader) -> Optional[BaseInstrumentor]:

Callers 1

instrument_oneFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected