Skip to content

Commit

Permalink
Fixes and style
Browse files Browse the repository at this point in the history
  • Loading branch information
juancarlospaco committed May 5, 2024
1 parent 8049248 commit e2267b9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion postgrest/base_request_builder.py
Original file line number Diff line number Diff line change
Expand Up @@ -196,7 +196,7 @@ def from_http_request_response(
) -> Self:
try:
data = request_response.json()
except JSONDecodeError as e:
except JSONDecodeError:

Check warning on line 199 in postgrest/base_request_builder.py

View check run for this annotation

Codecov / codecov/patch

postgrest/base_request_builder.py#L199

Added line #L199 was not covered by tests
return cls(data=[], count=0)
count = cls._get_count_from_http_request_response(request_response)
# the type-ignore here is as pydantic needs us to pass the type parameter
Expand Down

0 comments on commit e2267b9

Please sign in to comment.