Skip to content

Commit

Permalink
fix: Update schemas
Browse files Browse the repository at this point in the history
  • Loading branch information
edgarrmondragon committed Dec 19, 2023
1 parent 6459884 commit 124e0cf
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 6 deletions.
5 changes: 3 additions & 2 deletions tap_hookdeck/streams.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
),
th.Property(
"http_method",
th.StringType(allowed_values=["GET", "POST", "PUT", "PATCH", "DELETE"]),
th.StringType(allowed_values=[None, "GET", "POST", "PUT", "PATCH", "DELETE"]),
),
th.Property("auth_method", th.ObjectType()),
th.Property("archived_at", th.DateTimeType),
Expand All @@ -40,7 +40,7 @@
th.Property("verification", th.ObjectType()),
th.Property(
"allowed_http_methods",
th.ArrayType(th.StringType(allowed_values=["GET", "POST", "PUT", "PATCH", "DELETE"])),
th.ArrayType(th.StringType(allowed_values=[None, "GET", "POST", "PUT", "PATCH", "DELETE"])),
),
th.Property(
"custom_response",
Expand Down Expand Up @@ -225,6 +225,7 @@ class Requests(HookdeckStream):
"rejection_cause",
th.StringType(
allowed_values=[
None,
"SOURCE_ARCHIVED",
"NO_WEBHOOK",
"VERIFICATION_FAILED",
Expand Down
4 changes: 0 additions & 4 deletions tests/test_core.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,11 +16,7 @@
suite_config=SuiteConfig(
max_records_limit=10,
ignore_no_records_for_streams=[
"connections",
"destinations",
"sources",
"transformations",
"requests",
],
),
)

0 comments on commit 124e0cf

Please sign in to comment.