
    jS                     F    d dl mZmZ d dlZ G d dej                        Zy)    )OptionalUnionNc                   \    e Zd ZU dZeeef   ed<   dZe	e   ed<   dZ
e	e   ed<   dZeed<   y)
Attachmentab  
    Represents an Attachment to be added to the Trace or Span.

    Args:
        data: The data to be added to the Attachment. Can be:
            - A file path (str) to an existing file
            - A base64-encoded string (str) representing file content
            - Raw bytes content
        file_name: The custom filename to assign to the data in the attachment.
            If not provided, the original filename of the data will be used.
        content_type: The MIME type of the data to be added to the attachment.
            If not specified, it will be inferred from the data file.
        create_temp_copy: If True, a temporary copy of the file will be created
            before upload. This ensures the file remains available even if the
            original is deleted. The temp file will be deleted after upload.
            Default is True.
    dataN	file_namecontent_typeTcreate_temp_copy)__name__
__module____qualname____doc__r   strbytes__annotations__r   r   r	   r
   bool     /Users/manta/Documents/Projects/TheRoad-I1/backend/.venv/lib/python3.12/site-packages/opik/api_objects/attachment/attachment.pyr   r      s?    $ U

#Ix}#"&L(3-&!d!r   r   )typingr   r   pydantic	BaseModelr   r   r   r   <module>r      s    " "## "r   