We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
get_tap_test_class
th.OneOf
If I define a Stream like so:
Stream
class FileStream(Stream): name: str = "files" primary_keys: list[str] = ["path"] schema: dict = th.PropertiesList( th.Property("content", th.OneOf(th.StringType, th.ObjectType())) ).to_dict()
And attempt to define a test class:
TestTapFiles = get_tap_test_class(TapFiles, config=SAMPLE_CONFIG)
pytest will fail during test discovery itself, with the following error:
pytest
FAILED tap_test.py - ValueError: Could not detect type of replication key using schema '{}'
The text was updated successfully, but these errors were encountered:
Thank you for reporting @ajeetdsouza. I'll take a look next week.
Sorry, something went wrong.
edgarrmondragon
No branches or pull requests
If I define a
Stream
like so:And attempt to define a test class:
pytest
will fail during test discovery itself, with the following error:The text was updated successfully, but these errors were encountered: