Skip to content

Commit 4b56411

Browse files
fix: black formatting
1 parent c1637cb commit 4b56411

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

prepline_general/api/general.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -51,9 +51,7 @@ def is_compatible_response_type(media_type: str, response_type: type) -> bool:
5151
return (
5252
False
5353
if media_type == "application/json" and response_type not in [dict, list]
54-
else False
55-
if media_type == "text/csv" and response_type != str
56-
else True
54+
else False if media_type == "text/csv" and response_type != str else True
5755
)
5856

5957

0 commit comments

Comments
 (0)