module documentation
Handles attrs classes like:
@attr.s(auto_attribs=True)
class MyData:
name:str
age:float
permissions = attr.ib()
| Class | |
No class docstring; 2/2 properties documented |
| Class | |
No class docstring; 1/1 property documented |
| Function | setup |
Undocumented |
| Function | uses |
Does the given attr.s() decoration contain auto_attribs=True? :param call: AST of the call to attr.s(). |
| Variable | _attrs |
Signature of the attr.s class decorator. |
Does the given attr.s() decoration contain auto_attribs=True?
:param call: AST of the call to attr.s().
This function will assume that attr.s() is called without
verifying that.
| Parameters | |
call:astroid.nodes.Call | Undocumented |
ctx:pydocspec.ApiObject | Namespace that contains the call, used for error reporting. |
| Returns | |
bool | True if True is passed for auto_attribs,
False in all other cases: if auto_attribs is not passed,
if an explicit False is passed or if an error was reported. |