MCPcopy Index your code
hub / github.com/openai/openai-agents-python / foo_ctx

Method foo_ctx

tests/test_function_schema.py:247–248  ·  view source on GitHub ↗
(self, ctx: RunContextWrapper[str], a: int, b: int = 5)

Source from the content-addressed store, hash-verified

245 return a + b
246
247 def foo_ctx(self, ctx: RunContextWrapper[str], a: int, b: int = 5):
248 return a + b
249
250 @classmethod
251 def bar(cls, a: int, b: int = 5):

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected