[Sqlalchemy-tickets] Issue #3415: sqlalchemy.ext.automap.automap_base documentation error (zzzeek/s
Brought to you by:
zzzeek
|
From: Winfried P. <iss...@bi...> - 2015-05-05 20:30:56
|
New issue 3415: sqlalchemy.ext.automap.automap_base documentation error https://bitbucket.org/zzzeek/sqlalchemy/issue/3415/sqlalchemyextautomapautomap_base Winfried Plappert: In chapter [link to docu](http://docs.sqlalchemy.org/en/rel_1_0/orm/extensions/automap.html?highlight=sqlalchemy.ext.automap.automap_base#api-reference) the classmethod prepare contais some errorneous extra information: "classmethod prepare(engine=None, reflect=False, classname_for_table=<function classname_for_table at 0x7f26087aaed8>, collection_class=<type 'list'>, name_for_scalar_relationship=<function name_for_scalar_relationship at 0x7f26087ac398>, name_for_collection_relationship=<function name_for_collection_relationship at 0x7f26087ac410>, generate_relationship=<function generate_relationship at 0x7f26087ac488>)" further down in the same chapter the method sqlalchemy.ext.automap.generate_relationship contanis the parameter "direction" which is described as "direction¶ – indicate the “direction” of the relationship; this will be one of ONETOMANY, MANYTOONE, MANYTOONE." Remove one "MANYTOONE". |