
    il                        d Z ddlmZ ddlmZ ddlmZmZmZmZm	Z	 ddl
mZ ddlmZmZ ddlmZmZ ed   Zed	   Z G d
 de      Z G d de      Zy)zACode generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.    )annotations)datetime)	BaseModelNullableOptionalNullableUNSETUNSET_SENTINEL)model_serializer)LiteralOptional)NotRequired	TypedDictentryagent.handoffc                  h    e Zd ZU ded<   ded<   ded<   ded<   ded<   ded	<   d
ed<   ded<   ded<   y)AgentHandoffEntryTypedDictstrprevious_agent_idprevious_agent_namenext_agent_idnext_agent_namez$NotRequired[AgentHandoffEntryObject]objectz"NotRequired[AgentHandoffEntryType]typezNotRequired[datetime]
created_atzNotRequired[Nullable[datetime]]completed_atzNotRequired[str]idN)__name__
__module____qualname____annotations__     `/var/www/html/eduruby.in/venv/lib/python3.12/site-packages/mistralai/models/agenthandoffentry.pyr   r      s8    00
,,%%11r"   r   c                      e Zd ZU ded<   ded<   ded<   ded<   dZded<   d	Zd
ed<   dZded<   eZded<   dZ	ded<    e
d      d        Zy)AgentHandoffEntryr   r   r   r   r   r   z!Optional[AgentHandoffEntryObject]r   r   zOptional[AgentHandoffEntryType]r   NzOptional[datetime]r   zOptionalNullable[datetime]r   zOptional[str]r   wrap)modec                   g d}dg}g } ||       }i }t        |       j                  j                         D ]  \  }}|j                  xs |}	|j	                  |	      }
|j                  |	d        |	|v xr |	|v }| j                  j                  |h      xs |	|v }|
|
t        k7  r|
||	<   v|
t        k7  s|	|vs|s|s|
||	<    |S )N)r   r   r   r   r   r   )	r   model_fieldsitemsaliasgetpop__pydantic_fields_set__intersectionr	   )selfhandleroptional_fieldsnullable_fieldsnull_default_fields
serializedmnfkvaloptional_nullableis_sets                r#   serialize_modelz!AgentHandoffEntry.serialize_model/   s    P)* T]
J++113 	DAq1A..#CNN1d# !_ 4 Mo9M,,991#> ,++ 
 3.#8!&(->6!!	$ r"   )r   r   r   r    r   r   r   r   r   r   r
   r=   r!   r"   r#   r%   r%      sg    07F-7,;D
);%)J")/4L,4B6" #r"   r%   N)__doc__
__future__r   r   mistralai.typesr   r   r   r   r	   pydanticr
   typingr   r   typing_extensionsr   r   AgentHandoffEntryObjectAgentHandoffEntryTyper   r%   r!   r"   r#   <module>rF      sM    G "  X X % $ 4 "'* 0 	 	/	 /r"   