Skip to main content

block

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

Signature

def block(name: str, category: str) -> Any

Parameters

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

Returns

Returns
Any
The result of the operation.