paulocheque / django-dynamic-fixture

A complete library to create dynamic model instances for testing purposes.
http://django-dynamic-fixture.readthedocs.io/
Other
390 stars 67 forks source link

Update `G` functions return type to include lists if `n` argument is used #164

Closed sasacocic closed 1 month ago

sasacocic commented 1 month ago

This fixes the typing issue in: https://github.com/paulocheque/django-dynamic-fixture/issues/163

Glad to make any other changes that would be needed.

paulocheque commented 1 month ago

Nice! Usually it requires updates on Django changes and new features that community ask. Nothing specific.

sasacocic commented 1 month ago

Looks like it failed in CI because I used | instead of typing.Union - I can put up another PR to change that if you'd like so it passes. If not no worries as well.