sampo.schemas.types#

Overview#

Classes#

EventType

Generic enumeration.

ScheduleEvent

-

Classes#

class sampo.schemas.types.EventType#

Bases: enum.Enum

Generic enumeration.

Derive from this class to define new enumerations.

property priority: int#

Returns the processing order for scheduling events

Return value:

The desired priority

INITIAL#
START = 0#
END = 1#
class sampo.schemas.types.ScheduleEvent#
seq_id: int#
event_type: EventType#
time: sampo.schemas.time.Time#
swork: ScheduledWork | None#
available_workers_count: int#

Attributes#

sampo.schemas.types.ContractorName#
sampo.schemas.types.WorkerName#
sampo.schemas.types.AgentId#