+
    i                       R t ^ RIHt ^ RIHt ^ RIHt ^ RIHt ^ RIHt ^ RIHt ^ RIH	t	 ^RI
Ht ^R	IHt ^R
IH
t
 ^RIHt ^RIHt ]'       d   ^RIHt ^RIHt ^RIHt ]	! R]R7      t]]3t  ! R R]P4                  4      t]t ! R R]P4                  4      t ! R R]P<                  4      t ! R R]P@                  4      t! ! R R]P4                  4      t" ! R R]P4                  4      t# ! R R]!4      t$ ! R  R!]!4      t% ! R" R#]P@                  4      t& ! R$ R%]P@                  4      t' ! R& R']P@                  4      t(R( R) lt)]
PT                  ! R*4      R+ R, l4       t+R-# ).zSQLAlchemy ORM exceptions.)annotations)Any)Optional)Tuple)Type)TYPE_CHECKING)TypeVar)_mapper_property_as_plain_name)exc)util)MultipleResultsFound)NoResultFound)LoaderStrategy)MapperProperty)InstanceState_T)boundc                      ] tR t^$tRtRtR# )StaleDataErrora!  An operation encountered database state that is unaccounted for.

Conditions which cause this to happen include:

* A flush may have attempted to update or delete rows
  and an unexpected number of rows were matched during
  the UPDATE or DELETE statement.   Note that when
  version_id_col is used, rows in UPDATE or DELETE statements
  are also matched against the current known version
  identifier.

* A mapped object with version_id_col was refreshed,
  and the version number coming back from the database does
  not match that of the object itself.

* A object is detached from its parent object, however
  the object was previously attached to a different parent
  identity which was garbage collected, and a decision
  cannot be made if the new parent was really the most
  recent "parent".

 N__name__
__module____qualname____firstlineno____doc____static_attributes__r       {C:\Users\petid\OneDrive\Desktop\Maestro\MAESTRO CLAUDE\MAESTRO\maestro-backend\venv\Lib\site-packages\sqlalchemy\orm\exc.pyr   r   $   s    r   r   c                      ] tR t^@tRtRtR# )
FlushErrorz0A invalid condition was detected during flush().r   Nr   r   r   r   r    r    @   s    :r   r    c                      ] tR t^DtRtRtR# )MappedAnnotationErrorzRaised when ORM annotated declarative cannot interpret the
expression present inside of the :class:`.Mapped` construct.

.. versionadded:: 2.0.40

r   Nr   r   r   r   r"   r"   D   s    r   r"   c                      ] tR t^MtRtRtR# )UnmappedErrorz?Base for exceptions that involve expected mappings not present.r   Nr   r   r   r   r$   r$   M   s    Ir   r$   c                      ] tR t^QtRtRtR# )ObjectDereferencedErrorzHAn operation cannot complete due to an object being garbage
collected.

r   Nr   r   r   r   r&   r&   Q   s    r   r&   c                      ] tR t^XtRtRtRtR# )DetachedInstanceErrorzOAn attempt to access unloaded attributes on a
mapped instance that is detached.bhk3r   N)r   r   r   r   r   coder   r   r   r   r(   r(   X   s    ) Dr   r(   c                  `    ] tR t^_tRt]P                  ! R4      R	R R ll4       tR R ltRt	R# )
UnmappedInstanceErrorz;An mapping operation was requested for an unknown instance.sqlalchemy.orm.baseNc                    V ^8  d   QhRRRR/# )   objobjectmsgOptional[str]r   )formats   "r   __annotate__"UnmappedInstanceError.__annotate__c   s     * *F * *r   c                	   \         P                  P                  pV'       g;    VP                  \	        V4      4       \        \	        V4      4      pR V: RV: R2p\        P                  W4       R#   \         dK    R\        \	        T4      4       R2p\        T\        4      '       d   TR\        T4      ,          ,          p Lki ; i)zClass z| is mapped, but this instance lacks instrumentation.  This occurs when the instance is created before sqlalchemy.orm.mapper(z) was called.Class '' is not mappedz;; was a class (%s) supplied where an instance was required?N)
r   	preloadedorm_baseclass_mappertype_safe_cls_nameUnmappedClassError
isinstancer$   __init__)selfr0   r2   basenames   &&&  r   rA   UnmappedInstanceError.__init__b   s    ~~&&!!$s),%d3i0
 &*41  	t) & tCy 9:/Jc4(($&4S&9:Cs   9A4 4AC	C	c                   V ^8  d   QhRR/# r/   returnr   r   )r4   s   "r   r5   r6   y        4 4C 4r   c                	D    V P                   R V P                  ^ ,          33# N	__class__argsrB   s   &r   
__reduce__ UnmappedInstanceError.__reduce__y       ~~diil333r   r   rK   
r   r   r   r   r   r   preload_modulerA   rP   r   r   r   r   r,   r,   _   s-    E	./* 0*,4 4r   r,   c                  6    ] tR t^}tRtRR R lltR R ltRtR# )	r?   z8An mapping operation was requested for an unknown class.Nc                    V ^8  d   QhRRRR/# )r/   clszType[_T]r2   r3   r   )r4   s   "r   r5   UnmappedClassError.__annotate__   s     * *H *= *r   c                	V    V'       g   \        V4      p\        P                  W4       R # rK   )_default_unmappedr$   rA   )rB   rW   r2   s   &&&r   rA   UnmappedClassError.__init__   s    #C(Ct)r   c                   V ^8  d   QhRR/# rG   r   )r4   s   "r   r5   rX      rI   r   c                	D    V P                   R V P                  ^ ,          33# rK   rL   rO   s   &r   rP   UnmappedClassError.__reduce__   rR   r   r   rK   )r   r   r   r   r   rA   rP   r   r   r   r   r?   r?   }   s    B*
4 4r   r?   c                  `    ] tR t^tRt]P                  ! R4      R	R R ll4       tR R ltRt	R# )
ObjectDeletedErrora  A refresh operation failed to retrieve the database
row corresponding to an object's known primary key identity.

A refresh operation proceeds when an expired attribute is
accessed on an object, or when :meth:`_query.Query.get` is
used to retrieve an object which is, upon retrieval, detected
as expired.   A SELECT is emitted for the target row
based on primary key; if no row is returned, this
exception is raised.

The true meaning of this exception is simply that
no row exists for the primary key identifier associated
with a persistent object.   The row may have been
deleted, or in some cases the primary key updated
to a new value, outside of the ORM's management of the target
object.

r-   Nc                    V ^8  d   QhRRRR/# )r/   statezInstanceState[Any]r2   r3   r   )r4   s   "r   r5   ObjectDeletedError.__annotate__   s     	7 	70 	7} 	7r   c                	    \         P                  P                  pV'       g   R VP                  V4      ,          p\        P
                  P                  W4       R# )zDInstance '%s' has been deleted, or its row is otherwise not present.N)r   r:   r;   	state_strsa_excInvalidRequestErrorrA   )rB   rb   r2   rC   s   &&& r   rA   ObjectDeletedError.__init__   sF    ~~&&026..2GH 
 	""++D6r   c                   V ^8  d   QhRR/# rG   r   )r4   s   "r   r5   rc      rI   r   c                	D    V P                   R V P                  ^ ,          33# rK   rL   rO   s   &r   rP   ObjectDeletedError.__reduce__   rR   r   r   rK   rS   r   r   r   r`   r`      s1    & 
./	7 0	74 4r   r`   c                      ] tR t^tRtRtR# )UnmappedColumnErrorz5Mapping operation was requested on an unknown column.r   Nr   r   r   r   rm   rm      s    ?r   rm   c                  &    ] tR t^tRtR R ltRtR# )LoaderStrategyExceptionz2A loader strategy for an attribute does not exist.c          
     ,    V ^8  d   QhRRRRRRRRR	R
/# )r/   applied_to_property_type	Type[Any]requesting_propertyzMapperProperty[Any]
applies_toz#Optional[Type[MapperProperty[Any]]]actual_strategy_typezOptional[Type[LoaderStrategy]]strategy_keyzTuple[Any, ...]r   )r4   s   "r   r5   $LoaderStrategyException.__annotate__   s<      "+ 1 8	
 = &r   c                	   Vf+   \         P                  P                  V RV: RV: 24       R # Vf   Q h\         P                  P                  V R\        P                  ! V4      : RV: R\        V4      : R\        V4      : R2	4       R # )NzCan't find strategy z for zCan't apply "z" strategy to property "z", which is a "z7"; this loader strategy is intended to be used with a "z".)rf   rg   rA   r   clsname_as_plain_namer	   )rB   rq   rs   rt   ru   rv   s   &&&&&&r   rA    LoaderStrategyException.__init__   s{      '&&//!46 )))&&//
 ../CD'23KL2:>r   r   N)r   r   r   r   r   rA   r   r   r   r   ro   ro      s    < r   ro   c                    V ^8  d   QhRRRR/# )r/   rW   rr   rH   strr   )r4   s   "r   r5   r5      s      	 c r   c                     R P                  V P                  V P                  34      pV#   \         d!    \	        T RR4      pTf   \        T 4      p T# i ; i).r   N)joinr   r   AttributeErrorgetattrrepr)rW   cls_names   & r   r>   r>      s]    !88S^^S\\:;
 O	  !3
D1CyHO	!s   '+ 'AAr-   c                    V ^8  d   QhRRRR/# )r/   rW   rr   rH   r3   r   )r4   s   "r   r5   r5      s      9  r   c                    \         P                  P                  p VP                  V 4      P                  p\        V 4      pV'       g   R V R2# R#   \
        \        3\        ,            d    / p L;i ; i)r8   r9   N)	r   r:   r;   manager_of_classmappersr?   	TypeErrorNO_STATEr>   )rW   rC   r   rD   s   &   r   rZ   rZ      sw    >>""D'',44 #Do.. 	 	  	s   A A32A3N),r   
__future__r   typingr   r   r   r   r   r   r   r	    r
   rf   r   r   
interfacesr   r   rb   r   r   r   KeyErrorr   SQLAlchemyErrorr   ConcurrentModificationErrorr    ArgumentErrorr"   rg   r$   r&   r(   r,   r?   r`   rm   ro   r>   rT   rZ   r   r   r   <module>r      s@   ! "        0   & **$TH% LV++ 2 - ;'' ;F00 JF.. Jf44 F22 4M 4<	4 	4!433 !4H@&44 @f88 B *+ ,r   