FactoryBoy / factory_boy

A test fixtures replacement for Python
https://factoryboy.readthedocs.io/
MIT License
3.52k stars 397 forks source link

Document what `factory.PostGeneration` and `factory.post_generation` should return #531

Open charlax opened 6 years ago

charlax commented 6 years ago

The problem

In reference.rst, it's a bit unclear what PostGeneration and post_generation can and should return... What's more, reading the code it looks like one should be wary of shadowing declaration of BaseDeclaration. Would you mind documenting this? Thanks!

jeffwidman commented 6 years ago

Can you create a PR?