From be81cb200d9efb45c3bf331315c54dff778b5de6 Mon Sep 17 00:00:00 2001 From: Mike Bayer Date: Tue, 5 May 2015 16:55:09 -0400 Subject: [PATCH] - fix typo MANYTOONE -> MANYTOMANY, fixes #3415 --- lib/sqlalchemy/ext/automap.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.47.3