![]() |
Qucs-S S-parameter Viewer & RF Synthesis Tools
|
Public Member Functions | |
| __init__ (self, default, validator, repr, cmp, hash, init, converter, metadata, type, kw_only, eq, eq_key, order, order_key, on_setattr, alias) | |
| validator (self, meth) | |
| default (self, meth) | |
Public Attributes | |
| counter | |
| converter | |
| repr | |
| eq | |
| eq_key | |
| order | |
| order_key | |
| hash | |
| init | |
| metadata | |
| type | |
| kw_only | |
| on_setattr | |
| alias | |
Static Public Attributes | |
| int | cls_counter = 0 |
Protected Attributes | |
| _default | |
| _validator | |
Intermediate representation of attributes that uses a counter to preserve the order in which the attributes have been defined. *Internal* data structure of the attrs library. Running into is most likely the result of a bug like a forgotten `@attr.s` decorator.
| attr._make._CountingAttr.default | ( | self, | |
| meth | |||
| ) |
Decorator that allows to set the default for an attribute.
Returns *meth* unchanged.
Raises:
DefaultAlreadySetError: If default has been set before.
.. versionadded:: 17.1.0
| attr._make._CountingAttr.validator | ( | self, | |
| meth | |||
| ) |
Decorator that adds *meth* to the list of validators. Returns *meth* unchanged. .. versionadded:: 17.1.0