API Call • AI Agents Framework
api_call: Context manager for profiling API calls.
api_call
Method
</div>
This is a method of the Profiler class in the profiler module.
Context manager for profiling API calls.
Signature
def api_call(endpoint: str, method: str) -> AnyParameters
ParamField
strNo description available.
ParamField
strNo description available.
Returns
ResponseField
AnyThe result of the operation.
Uses
time.perf_countercls.record_api_call
Source
View on GitHubpraisonai/profiler.py at line 483