API reference
python:astx:astx.types.operators.DataTypeOps
class DataTypeOps
Source: packages/astx/src/astx/types/operators.py:24
Overload some magic functions used for the main operations.
Methods
-
__add__ — Overload the magic `add` method.
-
__and__ — Overload the magic 'and' method.
-
__eq__ — Overload the magic `eq` method.
-
__floordiv__ — Overload the magic `floordiv` method.
-
__ge__ — Overload the magic `ge` method.
-
__gt__ — Overload the magic `gt` method.
-
__hash__ — Ensure that the hash method is not None.
-
__invert__ — Overload the magic 'not' method.
-
__le__ — Overload the magic `le` method.
-
__lt__ — Overload the magic `lt` method.
-
__mod__ — Overload the magic `mod` method.
-
__mul__ — Overload the magic `mul` method.
-
__ne__ — Overload the magic `ne` method.
-
__neg__ — Overload the magic `neg` method.
-
__or__ — Overload the magic 'or' method.
-
__pos__ — Overload the magic `pos` method.
-
__pow__ — Overload the magic `pow` method.
-
__sub__ — Overload the magic `sub` method.
-
__truediv__ — Overload the magic `truediv` method.
-
__xor__ — Overload the magic 'xor' method.