Skip to content

Commit 52d52b2

Browse files
author
octavia-squidington-iii
committed
Auto-fix lint and format issues
1 parent 8614e16 commit 52d52b2

File tree

4 files changed

+1524
-975
lines changed

4 files changed

+1524
-975
lines changed

Diff for: airbyte_cdk/sources/declarative/decoders/json_decoder.py

+6-2
Original file line numberDiff line numberDiff line change
@@ -33,11 +33,15 @@ def decode(self, response: requests.Response) -> Generator[Mapping[str, Any], No
3333
body_json = response.json()
3434
yield from self.parse_body_json(body_json)
3535
except requests.exceptions.JSONDecodeError:
36-
logger.warning(f"Response cannot be parsed into json: {response.status_code=}, {response.text=}")
36+
logger.warning(
37+
f"Response cannot be parsed into json: {response.status_code=}, {response.text=}"
38+
)
3739
yield {}
3840

3941
@staticmethod
40-
def parse_body_json(body_json: Mapping[str, Any] | list) -> Generator[Mapping[str, Any], None, None]:
42+
def parse_body_json(
43+
body_json: Mapping[str, Any] | list,
44+
) -> Generator[Mapping[str, Any], None, None]:
4145
if not isinstance(body_json, list):
4246
body_json = [body_json]
4347
if len(body_json) == 0:

0 commit comments

Comments
 (0)