File: //usr/local/lib/python3.10/dist-packages/sqlalchemy/engine/__pycache__/row.cpython-310.pyc
o
���g�. � @ s
d Z ddlmZ ddlmZ ddlmZ ddlZddlZddlm Z ddlm
Z
ddlmZ ddlmZ dd lm
Z
dd
lmZ ddlmZ ddlmZ dd
lmZ ddlmZ ddlmZ ddlmZ ddlmZ ddlmZ ddlmZ ddlmZ ddlmZ ddlmZ es�es�ddlmZ nddl mZ er�ddl!m"Z" ddl!m#Z# ddl!m$Z$ ede d�Z%edee d f d�Z&G d!d"� d"eee ee& �Z'eZ(e'Z)G d#d$� d$e�Z*G d%d&� d&e*ej+d' ej,e �Z-G d(d)� d)e*ej.d'e f �Z/G d*d+� d+eejd'e f �Z0dS ),z.Define row constructs including :class:`.Row`.� )�annotations)�ABCN)�Any)�Callable)�Dict)�Generic)�Iterator)�List)�Mapping)�NoReturn)�Optional)�overload)�Sequence)�Tuple)�
TYPE_CHECKING)�TypeVar)�Union� )�util)�
deprecated)�HAS_CYEXTENSION� )�BaseRow)�_KeyType)�_ProcessorsType)� RMKeyView�_T)�bound�_TP.c @ sD e Zd ZdZdZdKd d
�ZdLdd�ZdMdd�Zedd�dMdd��Z e
dMdd��Ze
edd�dMdd���Ze
dNdd��Z
dOdd �ZesOdPd!d"�Zed#�Zed$�ZdQd'd(�ZdRd,d-�ZejZerqedSd/d0��ZedTd3d0��ZdUd5d0�ZdVd6d7�ZdVd8d9�ZdVd:d;�ZdVd<d=�ZdVd>d?�ZdVd@dA�ZdWdBdC�Ze
dXdEdF��Z dYdHdI�Z!dJS )Z�Rowa Represent a single result row.
The :class:`.Row` object represents a row of a database result. It is
typically associated in the 1.x series of SQLAlchemy with the
:class:`_engine.CursorResult` object, however is also used by the ORM for
tuple-like results as of SQLAlchemy 1.4.
The :class:`.Row` object seeks to act as much like a Python named
tuple as possible. For mapping (i.e. dictionary) behavior on a row,
such as testing for containment of keys, refer to the :attr:`.Row._mapping`
attribute.
.. seealso::
:ref:`tutorial_selecting_data` - includes examples of selecting
rows from SELECT statements.
.. versionchanged:: 1.4
Renamed ``RowProxy`` to :class:`.Row`. :class:`.Row` is no longer a
"proxy" object in that it contains the final form of data within it,
and now acts mostly like a named tuple. Mapping-like functionality is
moved to the :attr:`.Row._mapping` attribute. See
:ref:`change_4710_core` for background on this change.
� �name�str�valuer �returnr c C � t d��)Nzcan't set attribute��AttributeError)�selfr! r# r r �@/usr/local/lib/python3.10/dist-packages/sqlalchemy/engine/row.py�__setattr__P � zRow.__setattr__c C r% )Nzcan't delete attributer&