From: Mike Bayer Date: Tue, 5 May 2015 20:55:09 +0000 (-0400) Subject: - fix typo MANYTOONE -> MANYTOMANY, fixes #3415 X-Git-Tag: rel_1_0_4~8 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=be81cb200d9efb45c3bf331315c54dff778b5de6;p=thirdparty%2Fsqlalchemy%2Fsqlalchemy.git - fix typo MANYTOONE -> MANYTOMANY, fixes #3415 --- diff --git a/lib/sqlalchemy/ext/automap.py b/lib/sqlalchemy/ext/automap.py index 448d8492e2..119d10c427 100644 --- a/lib/sqlalchemy/ext/automap.py +++ b/lib/sqlalchemy/ext/automap.py @@ -631,7 +631,7 @@ def generate_relationship( :param base: the :class:`.AutomapBase` class doing the prepare. :param direction: indicate the "direction" of the relationship; this will - be one of :data:`.ONETOMANY`, :data:`.MANYTOONE`, :data:`.MANYTOONE`. + be one of :data:`.ONETOMANY`, :data:`.MANYTOONE`, :data:`.MANYTOMANY`. :param return_fn: the function that is used by default to create the relationship. This will be either :func:`.relationship` or