Skip to content

could we also reseed polyfactory? #720

Closed

Description

@davidszotten

Description

while polyfactory uses faker, it also has its own random instance in https://github.com/litestar-org/polyfactory/blob/main/polyfactory/factories/base.py

would you be open to a patch that also reseeds this when reseeding?

Activity

  1. davidszotten commented on Apr 14, 2026

    @davidszotten
    Author

    ah just found the entrypoint hook which i'd missed. will try that first!

  2. adamchainz commented on Apr 14, 2026

    @adamchainz
    Member

    I'm happy to add polyfactory support. The entrypoint is a bit of a hack that I've been considering removing in favour of some other extensibility method.

  3. added a commit that references this issue on Aug 31, 2026
    c2a001d
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions