Skip to content

Commit

Permalink
add test resource for py_components unit test
Browse files Browse the repository at this point in the history
  • Loading branch information
aaronsteers committed Dec 19, 2024
1 parent 8309f79 commit 399dd7b
Show file tree
Hide file tree
Showing 3 changed files with 1,386 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
"""Custom Python components.py file for testing.
This file is mostly a no-op (for now) but should trigger a failure if code file is not
correctly parsed.
"""

from airbyte_cdk.sources.declarative.models import DeclarativeStream


class CustomDeclarativeStream(DeclarativeStream):
"""Custom declarative stream class.
We don't change anything from the base class, but this should still be enough to confirm
that the components.py file is correctly parsed.
"""
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
"pokemon_name": "blastoise"
}
Loading

0 comments on commit 399dd7b

Please sign in to comment.