관리-도구
편집 파일: relationships.cpython-37.pyc
B ��4]� � @ s� d Z ddlmZ ddlZddlZddlmZ ddlmZ ddlmZ ddl mZ dd lm Z dd lmZ ddlmZ ddlmZ dd lmZ ddlmZ ddlmZ ddlmZ ddlmZ ddlmZ ddlmZ ddlmZ ddlmZ ddlmZ ddlmZ ddlmZ ddlmZ ddl m!Z! ddl m"Z" ddl m#Z# ddl m$Z$ ddl 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.e/�Z0G d/d0� d0e/�Z1dS )1a Heuristics related to join conditions as used in :func:`.relationship`. Provides the :class:`.JoinCondition` object, which encapsulates SQL annotation and aliasing behavior focused on the `primaryjoin` and `secondaryjoin` aspects of :func:`.relationship`. � )�absolute_importN� )� attributes)� dependency)�mapper)� 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 �_clause_element_as_expr)�expr� r% �O/opt/alt/python37/lib64/python3.7/site-packages/sqlalchemy/orm/relationships.pyr! 3 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` �foreignT)r"