§
<ˆj/„ ã ó~ — d Z ddlmZ ddlZddlmZ ddlmZ ddlmZ ddlm Z dd l
mZ dd
l
mZ ddl
mZ ddl
mZ d
dlmZ d
dlm
Z
d
dlm
Z e
j ¦ « Zd„ Z e
j d¦ « d!d„¦ « Zd„ Z d"d„Z d#d„Z d"d„Zd„ Z d#d„Zd„ Zd„ Zd„ Z d„ Z!d„ Z" G d„ de#¦ « Z$d „ Z%dS )$zßprivate module containing functions used to convert database
rows into object instances and associated state.
the functions here are called primarily by Query, Mapper,
as well as some of the attribute loading strategies.
é )Úabsolute_importNé )Ú
attributes)Úexc)Ú
path_registry)Ústrategy_options)Ú_DEFER_FOR_STATE)Ú_SET_DEFERRED_EXPIRED)Ú _none_set)Ú state_stré )Úutilc # óB ‡ ‡‡‡‡
‡K — t ¦ « ‰_ i ‰_ ‰ j }‰ j }|r|rt
}nˆ fd„} t
t ˆˆˆ fd„‰ j D ¦ « Ž ¦ « \ Š}|st j
d|¦ « Š i ‰_ ‰ j r‰
‰ j ¦ « }|sdS n‰ ¦ « }|r‰d Š
ˆ
fd„|D ¦ « }nˆˆfd„|D ¦ « }‰j ¦ « D ]\ } }
|
‰| ¦ « Œ|rt j ||¦ « }|D ]}|V — Œ‰ j sdS ŒÈ# t$ $ rE t j ¦ « 5 ‰ ¦ « ddd¦ « Y dS # 1 swxY w Y Y dS w xY w) z$Return an ORM result as an iterator.c ó\ •— t d„ t ‰j | ¦ « D ¦ « ¦ « S )Nc 3 óL K — | ]\ }}|j rt |¦ « n|V — Œ d S ©N)Úuse_id_for_hashÚid)Ú.0ÚentÚitems úM/opt/cloudlinux/venv/lib64/python3.11/site-packages/sqlalchemy/orm/loading.pyú