attributes (``x`` and ``y`` in this case) might change.
Other forms of the above pattern include Python standard library
- :ref:`cached_property <https://docs.python.org/3/library/functools.html#functools.cached_property>`
+ `cached_property <https://docs.python.org/3/library/functools.html#functools.cached_property>`_
decorator (which is cached, and not re-computed each time), as well as SQLAlchemy's :class:`.hybrid_property` decorator which
allows for attributes that can work for SQL querying as well.
@deprecated(
"2.1.0",
- "The :method:`.Result.tuples` method is deprecated, :class:`.Row` "
+ "The :meth:`.Result.tuples` method is deprecated, :class:`.Row` "
"now behaves like a tuple and can unpack types directly.",
)
def tuples(self) -> TupleResult[Tuple[Unpack[_Ts]]]:
@deprecated(
"2.1.0",
- "The :method:`.AsyncResult.tuples` method is deprecated, "
+ "The :meth:`.AsyncResult.tuples` method is deprecated, "
":class:`.Row` now behaves like a tuple and can unpack types "
"directly.",
)
@deprecated(
"2.1.0",
- "The :method:`.Query.tuples` method is deprecated, :class:`.Row` "
+ "The :meth:`.Query.tuples` method is deprecated, :class:`.Row` "
"now behaves like a tuple and can unpack types directly.",
)
def tuples(self: Query[_O]) -> Query[Tuple[_O]]: