dataframely.exc module¶
- exception dataframely.exc.AnnotationImplementationError(attr: str, kls: type)[source]¶
Bases:
ImplementationErrorError raised when the annotations of a collection are invalid.
- add_note(object, /)¶
Exception.add_note(note) – add a note to the exception
- args¶
- with_traceback(object, /)¶
Exception.with_traceback(tb) – set self.__traceback__ to tb and return self.
- exception dataframely.exc.DtypeValidationError(errors: dict[str, tuple[DataType | DataTypeClass, DataType | DataTypeClass]])[source]¶
Bases:
ValidationErrorValidation error raised when column dtypes are wrong.
- add_note(object, /)¶
Exception.add_note(note) – add a note to the exception
- args¶
- with_traceback(object, /)¶
Exception.with_traceback(tb) – set self.__traceback__ to tb and return self.
- exception dataframely.exc.ImplementationError[source]¶
Bases:
ExceptionError raised when a schema is implemented incorrectly.
- add_note(object, /)¶
Exception.add_note(note) – add a note to the exception
- args¶
- with_traceback(object, /)¶
Exception.with_traceback(tb) – set self.__traceback__ to tb and return self.
- exception dataframely.exc.MemberValidationError(errors: dict[str, ValidationError])[source]¶
Bases:
ValidationErrorValidation error raised when multiple members of a collection fail validation.
- add_note(object, /)¶
Exception.add_note(note) – add a note to the exception
- args¶
- with_traceback(object, /)¶
Exception.with_traceback(tb) – set self.__traceback__ to tb and return self.
- exception dataframely.exc.RuleValidationError(errors: dict[str, int])[source]¶
Bases:
ValidationErrorComplex validation error raised when rule validation fails.
- add_note(object, /)¶
Exception.add_note(note) – add a note to the exception
- args¶
- with_traceback(object, /)¶
Exception.with_traceback(tb) – set self.__traceback__ to tb and return self.
- exception dataframely.exc.ValidationError(message: str)[source]¶
Bases:
ExceptionError raised when
dataframelyvalidation encounters an issue.- add_note(object, /)¶
Exception.add_note(note) – add a note to the exception
- args¶
- with_traceback(object, /)¶
Exception.with_traceback(tb) – set self.__traceback__ to tb and return self.
- exception dataframely.exc.ValidationRequiredError[source]¶
Bases:
ExceptionError raised when validation is when reading a parquet file.
- add_note(object, /)¶
Exception.add_note(note) – add a note to the exception
- args¶
- with_traceback(object, /)¶
Exception.with_traceback(tb) – set self.__traceback__ to tb and return self.