julee.domain.models.custom_fields.content_stream¶
Custom Pydantic field types for the CEAP workflow domain.
This module contains custom field types that provide proper Pydantic validation for specialized data types used in the document processing workflow.
Classes¶
Wrapper for IO streams that provides proper Pydantic validation. |
Module Contents¶
- class julee.domain.models.custom_fields.content_stream.ContentStream(stream)[source]¶
Wrapper for IO streams that provides proper Pydantic validation.
This class wraps io.IOBase instances to provide proper Pydantic validation without requiring arbitrary_types_allowed. It ensures that only valid stream objects are accepted while providing a clean interface for stream operations.