File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -1819,7 +1819,7 @@ def selectable(self):
1819
1819
1820
1820
Normally, this is equivalent to :attr:`.mapped_table`, unless
1821
1821
the ``with_polymorphic`` feature is in use, in which case the
1822
- full "polymoprhic " selectable is returned.
1822
+ full "polymorphic " selectable is returned.
1823
1823
1824
1824
"""
1825
1825
return self ._with_polymorphic_selectable
Original file line number Diff line number Diff line change @@ -507,13 +507,13 @@ class AttributeState(object):
507
507
to a particular attribute on a particular mapped object.
508
508
509
509
The :class:`.AttributeState` object is accessed
510
- via the :attr:`.InstanceState.attr ` collection
510
+ via the :attr:`.InstanceState.attrs ` collection
511
511
of a particular :class:`.InstanceState`::
512
512
513
513
from sqlalchemy import inspect
514
514
515
515
insp = inspect(some_mapped_object)
516
- attr_state = insp.attr .some_attribute
516
+ attr_state = insp.attrs .some_attribute
517
517
518
518
"""
519
519
You can’t perform that action at this time.
0 commit comments