Skip to content

sift_py.error

CLASS DESCRIPTION
SiftError

These exceptions are raised when something totally unexpected occurs and is

SiftAPIDeprecationWarning

Warning used for deprecated API features that may be removed in future updates.

ProtobufMaxSizeExceededError

The library limits the size of certain protobufs to prevent gRPC messages from being too big.

FUNCTION DESCRIPTION
raise_if_too_large
ATTRIBUTE DESCRIPTION
GRPC_MAX_MESSAGE_SIZE

GRPC_MAX_MESSAGE_SIZE module-attribute

GRPC_MAX_MESSAGE_SIZE = 4194304

SiftError

SiftError(msg: str)

Bases: Exception

These exceptions are raised when something totally unexpected occurs and is meant to indicate that the error is likely not caused by the user, but rather, the library itself. These errors should be reported to Sift.

ATTRIBUTE DESCRIPTION
msg

TYPE: str

msg instance-attribute

msg: str

SiftAPIDeprecationWarning

Bases: FutureWarning

Warning used for deprecated API features that may be removed in future updates.

ProtobufMaxSizeExceededError

Bases: Exception

The library limits the size of certain protobufs to prevent gRPC messages from being too big.

raise_if_too_large

raise_if_too_large(pb: Message)