Input NamespaceΒΆ

Namespace: Input.

class zlogging.enum.input.Event(value, names=<not given>, *values, module=None, qualname=None, type=None, start=1, boundary=None)[source]

Bases: IntFlag

Enum: Input::Event.

Type that describes what kind of change occurred.

EVENT_NEW = 1

New data has been imported.

EVENT_CHANGED = 2

Existing data has been changed.

EVENT_REMOVED = 4

Previously existing data has been removed.

static _generate_next_value_(name, start, count, last_values)

Generate the next value when not given.

name: the name of the member start: the initial start value or None count: the number of existing members last_values: the last value assigned or None

class zlogging.enum.input.Mode(value, names=<not given>, *values, module=None, qualname=None, type=None, start=1, boundary=None)[source]

Bases: IntFlag

Enum: Input::Mode.

Type that defines the input stream read mode.

MANUAL = 1

Do not automatically reread the file after it has been read.

REREAD = 2

Reread the entire file each time a change is found.

STREAM = 4

Read data from end of file each time new data is appended.

static _generate_next_value_(name, start, count, last_values)

Generate the next value when not given.

name: the name of the member start: the initial start value or None count: the number of existing members last_values: the last value assigned or None

class zlogging.enum.input.Reader(value, names=<not given>, *values, module=None, qualname=None, type=None, start=1, boundary=None)[source]

Bases: IntFlag

Enum: Input::Reader.

READER_ASCII = 1
READER_BENCHMARK = 2
READER_BINARY = 4
READER_CONFIG = 8
READER_RAW = 16
READER_SQLITE = 32
static _generate_next_value_(name, start, count, last_values)

Generate the next value when not given.

name: the name of the member start: the initial start value or None count: the number of existing members last_values: the last value assigned or None