Skip to main content

block

Method
This is a method of the ProfilerCompat class in the profiler module.
Context manager for profiling a block of code.

Signature

Parameters

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

Returns

Any
The result of the operation.

Uses

  • block
  • get_profiler

Used By

Source

View on GitHub

praisonai/profiler.py at line 826