Open ADR-007 opened 9 months ago
Hi, thanks for the suggestions and code snipped 🚀 Would you like to prepare PR with tests?
Hey, it would be nice if you merged this PR. It will help me a lot.
Hi @wombat-artem, I fixed Python 3.8 support (at least, I hope so). For now you can use my branch as the package source with pip
or poetry
Thanks @ADR-007
I'm also having an issue with subfactories, the library works perfectly for 1 or 2 subfactories, but the moment I go to 3 on the same object it starts throwing this if I let it use them. For now I've just been limiting my use of subfactories but it'd be really great to have this workaround merged in :)
sqlalchemy.exc.SAWarning: Usage of the 'Session.add()' operation is not currently supported within the execution stage of the flush process. Results may not be consistent. Consider using alternative event listeners or connection-level operations instead.
Hi! Thank you for this project; it is really helpful!
I found that it doesn't currently work with sub-factories, and here is my hacky fix:
I would be happy if it would be fixed on the library side. What do you think?
Thanks!