Файловый менеджер - Редактировать - /opt/imh-python/lib/python3.9/site-packages/sqlalchemy/orm/__pycache__/relationships.cpython-39.pyc
Ðазад
a _�h! � @ s� d Z ddlmZ ddlZddlZddlmZ ddlmZ ddlmZ ddl mZ dd l mZ dd l mZ ddl mZ ddl mZ dd l mZ ddl mZ ddlmZ ddlmZ ddlmZ ddlmZ ddlmZ ddlmZ ddlmZ ddlmZ ddlmZ ddlmZ ddlmZ ddlm 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( d#d$� Z)d%d&� Z*ej+ej,j-d'd(d)�G d*d+� d+e���Z.d,d-� Z/G d.d/� d/e0�Z1G d0d1� d1e0�Z2dS )2a Heuristics related to join conditions as used in :func:`_orm.relationship`. Provides the :class:`.JoinCondition` object, which encapsulates SQL annotation and aliasing behavior focused on the `primaryjoin` and `secondaryjoin` aspects of :func:`_orm.relationship`. � )�absolute_importN� )� attributes)� dependency)�mapper)�_is_mapped_class)� state_str)� MANYTOMANY)� MANYTOONE)� ONETOMANY)�PropComparator)�StrategizedProperty)� _orm_annotate)�_orm_deannotate)�CascadeOptions� )�exc)�log)�schema)�sql)�util)�inspect)� expression)� operators)�visitors)�_deep_deannotate)�_shallow_annotate)�adapt_criterion_to_null)� ClauseAdapter)�join_condition)�selectables_overlap��visit_binary_productc C s t t�| �ddi�S )a Annotate a portion of a primaryjoin expression with a 'remote' annotation. See the section :ref:`relationship_custom_foreign` for a description of use. .. seealso:: :ref:`relationship_custom_foreign` :func:`.foreign` �remoteT��_annotate_columnsr Z_clause_element_as_expr��expr� r( ��/root/rpmbuild/BUILDROOT/imh-python39-modules-3.9.7-92.el8.x86_64/opt/imh-python/lib/python3.9/site-packages/sqlalchemy/orm/relationships.pyr# 4 s �r# c C s t t�| �ddi�S )a Annotate a portion of a primaryjoin expression with a 'foreign' annotation. See the section :ref:`relationship_custom_foreign` for a description of use. .. seealso:: :ref:`relationship_custom_foreign` :func:`.remote` �foreignTr$ r&