zmc
2023-08-08 e792e9a60d958b93aef96050644f369feb25d61b
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
U
¸ý°d-ã@sÌddlmZddlZddlmZddlmZddlmZddlmZddlmZddlm    Z    dd    lm
Z
dd
lm Z dd lm Z d d l mZd dlmZd dlmZd dlmZd dlmZd dlmZd dlmZd dlmZe
r²ddlmZddlmZddlmZddlmZddl m!Z!ddl"m#Z$ddl%m&Z&ddl%m'Z'ddl%m(Z(ddl%m)Z)dd l*m+Z+dd!l,m-Z-dd"l.m/Z/dd#l0m1Z1dd$l0m2Z2d d%lm3Z3d d&l4m5Z5e d'ed(Z6e d)ed*d+Z7e d,ed(Z8e d-e9d(Z:e
rîe$Z;e d.Z<e e    e6d/fZ=e e    e6d/d0d1fZ>ee?efZ@ee?efZAee    e6eed2feefZBe ee6eejCe6fZDe d3eed(ZEGd4d5„d5ed6d7ZFe eFee?effZGGd8d9„d9eƒZHGd:d;„d;eƒZId<d=d>œd?d@„ZJd<dAd>œdBdC„ZKdDdEdFœdGdH„ZLe
rxdDdIdFœdJdK„ZMdDdLdFœdMdN„ZNdDdOdFœdPdQ„ZOdRdSdFœdTdU„ZPdRdSdFœdVdW„ZQdXdYdZœd[d\„ZRd]d^d_œd`da„ZSd]dbd_œdcdd„ZTnPe Ude¡ZMe Udf¡ZNe Udg¡ZOe Udh¡ZPe Udi¡ZQe Udj¡ZSe Udk¡ZRe Udl¡ZTdS)mé)Ú annotationsN)ÚAny)ÚDict)ÚMapping)ÚOptional)ÚTuple)ÚType)Ú TYPE_CHECKING)ÚTypeVar)ÚUnioné)Ú_CoreKnownExecutionOptions)Úroles)ÚDMLStrategyArgument)ÚSynchronizeSessionArgument)Ú_HasClauseElement)Ú ColumnElement)ÚProtocol)Ú    TypeGuardé)Ú AttributeImpl)ÚCollectionAttributeImpl)ÚHasCollectionAdapter)ÚQueryableAttribute)Ú PassiveFlag)Úregistry)ÚInspectionAttr)ÚMapperProperty)Ú    ORMOption)ÚUserDefinedOption)ÚMapper)ÚRelationshipProperty)Ú InstanceState)Ú AliasedClass)Ú AliasedInsp)Ú_CE)ÚExecutableOptionÚ_T)ÚboundÚ_T_coT)r(Ú    covariantÚ_OÚ_OO)ú
Mapper[_T]úAliasedInsp[_T]zAliasedClass[_T]r-r..Ú _ORMCOLEXPRc@s>eZdZUded<ded<ded<ded<ded<ded    <d
S) Ú_OrmKnownExecutionOptionsÚboolZpopulate_existingZ    autoflushrZsynchronize_sessionrZ dml_strategyZis_delete_usingZis_update_fromN)Ú__name__Ú
__module__Ú __qualname__Ú__annotations__©r6r6úMd:\z\workplace\vscode\pyvenv\venv\Lib\site-packages\sqlalchemy/orm/_typing.pyr0`s
r0F)Útotalc@s$eZdZdZdddddœdd„ZdS)    Ú_ORMAdapterProtozˆprotocol for the :class:`.AliasedInsp._orm_adapt_element` method
    which is a synonym for :class:`.AliasedInsp._adapt_element`.
 
 
    Nr%z Optional[str])ÚobjÚkeyÚreturncCsdS©Nr6)Úselfr:r;r6r6r7Ú__call__usz_ORMAdapterProto.__call__)N)r2r3r4Ú__doc__r?r6r6r6r7r9nsr9c@seZdZddddœdd„ZdS)Ú_LoaderCallablezInstanceState[Any]rr)ÚstateÚpassiver<cCsdSr=r6)r>rBrCr6r6r7r?zsz_LoaderCallable.__call__N)r2r3r4r?r6r6r6r7rAysrAr&zTypeGuard[ORMOption])Úoptr<cCs|j Sr=)Ú_is_core©rDr6r6r7Ú is_orm_option~srGzTypeGuard[UserDefinedOption]cCs|j o |jSr=)rEZ_is_user_definedrFr6r6r7Úis_user_defined_option„srHrr1)r:r<cCst|dƒpt|dƒS)NZ__composite_values__Z__dataclass_fields__)Úhasattr©r:r6r6r7Úis_composite_classŠs ÿrKzTypeGuard[MapperProperty[Any]]cCsdSr=r6rJr6r6r7Úinsp_is_mapper_property“srLzTypeGuard[Mapper[Any]]cCsdSr=r6rJr6r6r7Úinsp_is_mapper–srMzTypeGuard[AliasedInsp[Any]]cCsdSr=r6rJr6r6r7Úinsp_is_aliased_class™srNrz"TypeGuard[QueryableAttribute[Any]]cCsdSr=r6rJr6r6r7Úinsp_is_attributeœsrOcCsdSr=r6rJr6r6r7Úattr_is_internal_proxy¡srPzMapperProperty[Any]z$TypeGuard[RelationshipProperty[Any]])Úpropr<cCsdSr=r6)rQr6r6r7Úprop_is_relationship¦srRrz"TypeGuard[CollectionAttributeImpl])Úimplr<cCsdSr=r6©rSr6r6r7Úis_collection_impl«srUzTypeGuard[HasCollectionAdapter]cCsdSr=r6rTr6r6r7Úis_has_collection_adapter°srVZ is_propertyZ    is_mapperZis_aliased_classZ is_attributeZ_is_internal_proxyZ
collectionZ_is_relationshipZ_is_has_collection_adapter)VÚ
__future__rÚoperatorÚtypingrrrrrrr    r
r Zengine.interfacesr ZsqlrZsql._orm_typesrrZ sql._typingrZ sql.elementsrZ util.typingrrÚ
attributesrrrrÚbaserZdecl_apirZ_registry_typeZ
interfacesrrrrZmapperr Z relationshipsr!rBr"Úutilr#r$r%Zsql.baser&r'r)r+Úobjectr,Z _RegistryTypeZ_InternalEntityTypeZ_ExternalEntityTypeZ _EntityTypeÚstrZ
_ClassDictZ _InstanceDictZ_IdentityKeyTypeZExpressionElementRoleZ_ORMColumnExprArgumentr/r0ZOrmExecuteOptionsParameterr9rArGrHrKrLrMrNrOrPrRrUrVÚ
attrgetterr6r6r6r7Ú<module>sª                                      ÿ  þÿ    ÿ 
 
 
 
 
 
 
ÿ