julee.domain.models.custom_fields.content_stream ================================================ .. py:module:: julee.domain.models.custom_fields.content_stream .. autoapi-nested-parse:: 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 ------- .. autoapisummary:: julee.domain.models.custom_fields.content_stream.ContentStream Module Contents --------------- .. py:class:: ContentStream(stream) 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. .. py:method:: read(size = -1) Read from the underlying stream. .. py:method:: seek(offset, whence = 0) Seek in the underlying stream. .. py:method:: tell() Get current position in stream. .. py:property:: stream :type: io.IOBase Access the underlying stream.