Skip to content

Commit 2029415

Browse files
author
maxime.c
committed
mypy + format
1 parent 2a50950 commit 2029415

File tree

2 files changed

+7
-2
lines changed

2 files changed

+7
-2
lines changed

airbyte_cdk/sources/declarative/requesters/error_handlers/composite_error_handler.py

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,12 @@ def interpret_response(
6666
if not isinstance(matched_error_resolution, ErrorResolution):
6767
continue
6868

69-
if matched_error_resolution.response_action in [ResponseAction.SUCCESS, ResponseAction.RETRY, ResponseAction.IGNORE, ResponseAction.RESET_PAGINATION]:
69+
if matched_error_resolution.response_action in [
70+
ResponseAction.SUCCESS,
71+
ResponseAction.RETRY,
72+
ResponseAction.IGNORE,
73+
ResponseAction.RESET_PAGINATION,
74+
]:
7075
return matched_error_resolution
7176

7277
if matched_error_resolution:

airbyte_cdk/test/mock_http/response_builder.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ def __str__(self) -> str:
7575
return f"NestedPath(path={self._path})"
7676

7777

78-
class RootPath(Path):
78+
class RootPath:
7979
"""
8080
Path to use when the root of the response is an array.
8181
"""

0 commit comments

Comments
 (0)