MCPcopy Create free account
hub / github.com/openai/openai-agents-python / update

Method update

tests/extensions/sandbox/test_runloop.py:848–850  ·  view source on GitHub ↗
(self, **params: object)

Source from the content-addressed store, hash-verified

846 return types.SimpleNamespace(id=self.id, name=self.name)
847
848 async def update(self, **params: object) -> object:
849 self.update_calls.append(dict(params))
850 return types.SimpleNamespace(id=self.id, name=params.get("name", self.name))
851
852 async def start_run(self, **params: object) -> _FakeBenchmarkRun:
853 self.start_run_calls.append(dict(params))

Callers

nothing calls this directly

Calls 2

appendMethod · 0.80
getMethod · 0.45

Tested by

no test coverage detected