Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/openai/openai-agents-python
/ foo
Method
foo
tests/test_function_schema.py:244–245 ·
view source on GitHub ↗
(self, a: int, b: int = 5)
Source
from the content-addressed store, hash-verified
242
243
class
MyClass:
244
def
foo(self, a: int, b: int = 5):
245
return
a + b
246
247
def
foo_ctx(self, ctx: RunContextWrapper[str], a: int, b: int = 5):
248
return
a + b
Callers
1
test_class_based_functions
Function · 0.95
Calls
no outgoing calls
Tested by
no test coverage detected