attr
Applicability
Product |
Supported |
|---|---|
x |
|
√ |
|
x |
|
√ |
|
x |
For
For
Function Description
Adds an attribute and returns the current object. Chain calls are supported. The tool parses the attribute into trace data and shows it in args.
Prototype
1 | def attr(self, key, value) |
Parameters
Parameter |
Input/Output |
Description |
|---|---|---|
key |
Input |
Attribute name. |
value |
Input |
Attribute value. |
Returns
The profiler returns the current object. Chain calls are supported.
Parent topic: Serving Tuning