core.bones

Submodules

Package Contents

Classes

ReadFromClientError

ReadFromClientErrorSeverity

Generic enumeration.

UniqueValue

UniqueLockMethod

Generic enumeration.

MultipleConstraints

RelationalConsistency

Generic enumeration.

class core.bones.ReadFromClientError
severity :ReadFromClientErrorSeverity
errorMessage :str
fieldPath :List[str]
invalidatedFields :List[str]
class core.bones.ReadFromClientErrorSeverity

Bases: enum.Enum

Generic enumeration.

Derive from this class to define new enumerations.

NotSet = 0
InvalidatesOther = 1
Empty = 2
Invalid = 3
class core.bones.UniqueValue
method :UniqueLockMethod
lockEmpty :bool
message :str
class core.bones.UniqueLockMethod

Bases: enum.Enum

Generic enumeration.

Derive from this class to define new enumerations.

SameValue = 1
SameSet = 2
SameList = 3
class core.bones.MultipleConstraints
minAmount :int = 0
maxAmount :int = 0
preventDuplicates :bool = False
class core.bones.RelationalConsistency

Bases: enum.Enum

Generic enumeration.

Derive from this class to define new enumerations.

Ignore = 1
PreventDeletion = 2
SetNull = 3
CascadeDeletion = 4