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

Method bar_ctx

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

Source from the content-addressed store, hash-verified

253
254 @classmethod
255 def bar_ctx(cls, ctx: RunContextWrapper[str], a: int, b: int = 5):
256 return a + b
257
258 @staticmethod
259 def baz(a: int, b: int = 5):

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected