diff options
Diffstat (limited to 'lib/sqlalchemy/ext/declarative/__init__.py')
-rw-r--r-- | lib/sqlalchemy/ext/declarative/__init__.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/sqlalchemy/ext/declarative/__init__.py b/lib/sqlalchemy/ext/declarative/__init__.py index 4010789b6..a77405e54 100644 --- a/lib/sqlalchemy/ext/declarative/__init__.py +++ b/lib/sqlalchemy/ext/declarative/__init__.py @@ -971,7 +971,7 @@ The condition above is resolved using a lambda:: primaryjoin=lambda: Target.id==cls.target_id ) -or alternatively, the string form (which ultmately generates a lambda):: +or alternatively, the string form (which ultimately generates a lambda):: class RefTargetMixin(object): @declared_attr @@ -1053,7 +1053,7 @@ string values to an implementing class:: Above, the ``HasStringCollection`` mixin produces a :func:`.relationship` which refers to a newly generated class called ``StringAttribute``. The -``StringAttribute`` class is generated with it's own :class:`.Table` +``StringAttribute`` class is generated with its own :class:`.Table` definition which is local to the parent class making usage of the ``HasStringCollection`` mixin. It also produces an :func:`.association_proxy` object which proxies references to the ``strings`` attribute onto the ``value`` |