-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: Add product properties streams (#82)
* Add product properties stream * Add product property specifics stream * Add product option specifics stream * Add variant property specifics stream
- Loading branch information
1 parent
556978d
commit 438d4ba
Showing
6 changed files
with
80 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
"""Schema definitions for product property objects.""" | ||
|
||
from singer_sdk import typing as th | ||
|
||
ProductPropertyObject = th.PropertiesList( | ||
th.Property("id", th.IntegerType), | ||
th.Property("name", th.StringType), | ||
) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
"""Schema definitions for product property specific objects.""" | ||
|
||
from singer_sdk import typing as th | ||
|
||
ProductPropertySpecificObject = th.PropertiesList( | ||
th.Property("id", th.IntegerType), | ||
th.Property("product_property_id", th.IntegerType), | ||
th.Property("product_property_name", th.StringType), | ||
th.Property("value", th.StringType), | ||
) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
"""Schema definitions for variant property specific objects.""" | ||
|
||
from singer_sdk import typing as th | ||
|
||
VariantPropertySpecificObject = th.PropertiesList( | ||
th.Property("id", th.IntegerType), | ||
th.Property("product_specific_id", th.IntegerType), | ||
th.Property("product_property_id", th.IntegerType), | ||
th.Property("product_property_name", th.StringType), | ||
th.Property("value", th.StringType), | ||
) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters