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

Faker not defined #291

Closed
maxmarcon opened this issue Sep 2, 2024 · 1 comment
Closed

Faker not defined #291

maxmarcon opened this issue Sep 2, 2024 · 1 comment

Comments

@maxmarcon
Copy link

maxmarcon commented Sep 2, 2024

Hi! I wanted to use the stream_maps API (with faker) with tap-postgres. However, apparently, tap-postgres doesn't support faker (I get an error saying that the "fake object is not defined").

As a workaround, I'm using meltano-map-transform instead. fake is defined, however when I want to set the seed following this example from the Meltano SDK docs:

   - name: meltano-map-transformer
      config:
         stream_maps:
              data_platform_raw-tbii_daily_gmv_nmv:
                  tb_channel_id: Faker.seed(0) or fake.pyint()
         faker_config:
            seed: 0

I get an error:

'Faker' is not defined for expression 'Faker.seed(0) or fake.pyint()'

Do you know why? Thanks

I'm using:
meltano-map-transform: https://github.com/MeltanoLabs/[email protected]
meltano: 3.4.1
python: 3.9.18

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

No branches or pull requests

2 participants