Double pluralization of names
Fixes #260 Stop double pluralization of names
- The proposal in #260 had the problem that inflect_engine.singular_noun() can be False, e.g. for inflect_engine.singular_noun('version')
Coverage: 97.663% (+0.2%) from 97.425% when pulling d2725f2da99690ce3e58981d02ab73cddfdc4c00 on dkratzert:double-pluralization-of-names into f8e377785879f3e1cc3a8b2d5f19e8d3d3ac4454 on agronholm:master.
Regarding the first test, simple_item = relationship('SimpleItem', back_populates='container') is not correct because the related foreign key column does not have a unique constraint on it.
@dkratzert thanks for this PR. Are you still planning to get this merged?
Sorry for the delay! I hope to have time for it soon.