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

Source Faker: Enable zero-config execution by making 'count' an optional config param #36167

Merged
merged 8 commits into from
Mar 21, 2024

Conversation

aaronsteers
Copy link
Collaborator

@aaronsteers aaronsteers commented Mar 14, 2024

This allows us to use source-faker with zero config. Prior to this change, 'count' was required - even though it was defined with the default of 1,000 records.

Drive-by change:

  • The 'description' field of 'count' was not 100% correct. I've updated it to correctly describe the current behaviors.

Motivations:

  • We use source-faker often in PyAirbyte demos and tutorials. For demo and testing purposes, it's helpful to be able to execute the source with zero configuration.

Impact

  • This should have zero impact on existing users.

Copy link

vercel bot commented Mar 14, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

1 Ignored Deployment
Name Status Preview Comments Updated (UTC)
airbyte-docs ⬜️ Ignored (Inspect) Visit Preview Mar 21, 2024 4:27pm

@natikgadzhi
Copy link
Contributor

And another example where the assortment of formatting tools don't agree. Ruff everything

@evantahler
Copy link
Contributor

Copy link
Contributor

@alafanechere alafanechere left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

CI is failing because of a new CAT test...
#36001

@aaronsteers
Copy link
Collaborator Author

aaronsteers commented Mar 21, 2024

Is this a new test?

Sorry - missed the above comment. Here is the screenshot:

image

@aaronsteers
Copy link
Collaborator Author

aaronsteers commented Mar 21, 2024

I just updated to latest CDK version:

poetry add airbyte-cdk@latest

🤞 😄

@aaronsteers aaronsteers merged commit 80456ef into master Mar 21, 2024
29 checks passed
@aaronsteers aaronsteers deleted the aj/source-faker/enable-zero-config branch March 21, 2024 18:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/connectors Connector related issues area/documentation Improvements or additions to documentation connectors/source/faker
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

5 participants