GitHub
07/30/2024, 3:52 AMFaker.factory() method.
from faker.factory import Factory
Faker = Factory.create
fake = Faker()
fake.seed(0)
Option 2 is actually what the faker docs recommend.
Unfortunately, option 2 does not allow for multiple locales. Given that, I thought it best to go with option 1, rather than breaking other people's code.
---
📚 Documentation preview 📚: https://meltano-sdk--2577.org.readthedocs.build/en/2577/
meltano/sdk
GitHub Actions: External Tests
✅ 29 other checks have passed
29/30 successful checksGitHub
07/30/2024, 4:08 AM