Skip to main content

api_call

Method
This is a method of the Profiler class in the profiler module.
Context manager for profiling API calls.

Signature

Parameters

str
required
No description available.
str
default:"'GET'"
No description available.

Returns

Any
The result of the operation.

Uses

  • time.perf_counter
  • cls.record_api_call

Source

View on GitHub

praisonai/profiler.py at line 483