MCPcopy Index your code
hub / github.com/mongodb/mongo-python-driver / create_entities_from_spec

Method create_entities_from_spec

test/unified_format.py:429–431  ·  view source on GitHub ↗
(self, entity_spec, uri=None)

Source from the content-addressed store, hash-verified

427 self.test.fail(f"Unable to create entity of unknown type {entity_type}")
428
429 def create_entities_from_spec(self, entity_spec, uri=None):
430 for spec in entity_spec:
431 self._create_entity(spec, uri=uri)
432
433 def get_listener_for_client(self, client_name: str) -> EventListenerUtil:
434 client = self[client_name]

Callers 2

_run_scenarioMethod · 0.45

Calls 1

_create_entityMethod · 0.95

Tested by

no test coverage detected