Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

tech debt: Deprecate Faker in stream maps context and recommend seed_instance #2669

Closed
edgarrmondragon opened this issue Sep 15, 2024 · 0 comments · Fixed by #2670
Closed

Comments

@edgarrmondragon
Copy link
Collaborator

Maybe I'm missing something, but could this not have been achieved already using seed_instance?

stream_maps:
  customers:
    # will always generate the same value for the same seed
    first_name: fake.seed_instance(_['first_name']) or fake.first_name()
faker_config:
  # IMPORTANT: `fake` and `Faker` names are only available if faker_config is defined.
  locale: en_US

https://faker.readthedocs.io/en/master/index.html#seeding-the-generator

Originally posted by @ReubenFrankel in #2598 (comment)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant