__enter__/__exit__
Applicability
Product |
Supported |
|---|---|
x |
|
√ |
|
x |
|
√ |
|
x |
For
For
Function Description
Calls the span_start function automatically when the process enters to log its start time. Calls the span_end function automatically when the process exits to log its end time.
Prototype
1 2 | def __enter__(self) def __exit__(self, exc_type, exc_val, exc_tb) |
Parameters
None.
Returns
None.
Parent topic: Serving Tuning