Module taos.precision

Expand source code
class PrecisionEnum(object):
    """Precision enums"""

    Milliseconds = 0
    Microseconds = 1
    Nanoseconds = 2


class PrecisionError(Exception):
    """Python datetime does not support nanoseconds error"""

    pass

Classes

class PrecisionEnum

Precision enums

Expand source code
class PrecisionEnum(object):
    """Precision enums"""

    Milliseconds = 0
    Microseconds = 1
    Nanoseconds = 2

Class variables

var Microseconds
var Milliseconds
var Nanoseconds
class PrecisionError (*args, **kwargs)

Python datetime does not support nanoseconds error

Expand source code
class PrecisionError(Exception):
    """Python datetime does not support nanoseconds error"""

    pass

Ancestors

  • builtins.Exception
  • builtins.BaseException