Skip to content

Reformat source files using black #76

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Oct 4, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
96 changes: 48 additions & 48 deletions patch_api/api/estimates_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -258,10 +258,10 @@ def create_air_shipping_estimate_with_http_info(
) # noqa: E501

# HTTP header `Content-Type`
header_params[
"Content-Type"
] = self.api_client.select_header_content_type( # noqa: E501
["application/json"]
header_params["Content-Type"] = (
self.api_client.select_header_content_type( # noqa: E501
["application/json"]
)
) # noqa: E501

# Authentication setting
Expand Down Expand Up @@ -456,10 +456,10 @@ def create_bitcoin_estimate_with_http_info(
) # noqa: E501

# HTTP header `Content-Type`
header_params[
"Content-Type"
] = self.api_client.select_header_content_type( # noqa: E501
["application/json"]
header_params["Content-Type"] = (
self.api_client.select_header_content_type( # noqa: E501
["application/json"]
)
) # noqa: E501

# Authentication setting
Expand Down Expand Up @@ -657,10 +657,10 @@ def create_ecommerce_estimate_with_http_info(
) # noqa: E501

# HTTP header `Content-Type`
header_params[
"Content-Type"
] = self.api_client.select_header_content_type( # noqa: E501
["application/json"]
header_params["Content-Type"] = (
self.api_client.select_header_content_type( # noqa: E501
["application/json"]
)
) # noqa: E501

# Authentication setting
Expand Down Expand Up @@ -855,10 +855,10 @@ def create_ethereum_estimate_with_http_info(
) # noqa: E501

# HTTP header `Content-Type`
header_params[
"Content-Type"
] = self.api_client.select_header_content_type( # noqa: E501
["application/json"]
header_params["Content-Type"] = (
self.api_client.select_header_content_type( # noqa: E501
["application/json"]
)
) # noqa: E501

# Authentication setting
Expand Down Expand Up @@ -1053,10 +1053,10 @@ def create_flight_estimate_with_http_info(
) # noqa: E501

# HTTP header `Content-Type`
header_params[
"Content-Type"
] = self.api_client.select_header_content_type( # noqa: E501
["application/json"]
header_params["Content-Type"] = (
self.api_client.select_header_content_type( # noqa: E501
["application/json"]
)
) # noqa: E501

# Authentication setting
Expand Down Expand Up @@ -1251,10 +1251,10 @@ def create_hotel_estimate_with_http_info(
) # noqa: E501

# HTTP header `Content-Type`
header_params[
"Content-Type"
] = self.api_client.select_header_content_type( # noqa: E501
["application/json"]
header_params["Content-Type"] = (
self.api_client.select_header_content_type( # noqa: E501
["application/json"]
)
) # noqa: E501

# Authentication setting
Expand Down Expand Up @@ -1449,10 +1449,10 @@ def create_mass_estimate_with_http_info(
) # noqa: E501

# HTTP header `Content-Type`
header_params[
"Content-Type"
] = self.api_client.select_header_content_type( # noqa: E501
["application/json"]
header_params["Content-Type"] = (
self.api_client.select_header_content_type( # noqa: E501
["application/json"]
)
) # noqa: E501

# Authentication setting
Expand Down Expand Up @@ -1650,10 +1650,10 @@ def create_rail_shipping_estimate_with_http_info(
) # noqa: E501

# HTTP header `Content-Type`
header_params[
"Content-Type"
] = self.api_client.select_header_content_type( # noqa: E501
["application/json"]
header_params["Content-Type"] = (
self.api_client.select_header_content_type( # noqa: E501
["application/json"]
)
) # noqa: E501

# Authentication setting
Expand Down Expand Up @@ -1851,10 +1851,10 @@ def create_road_shipping_estimate_with_http_info(
) # noqa: E501

# HTTP header `Content-Type`
header_params[
"Content-Type"
] = self.api_client.select_header_content_type( # noqa: E501
["application/json"]
header_params["Content-Type"] = (
self.api_client.select_header_content_type( # noqa: E501
["application/json"]
)
) # noqa: E501

# Authentication setting
Expand Down Expand Up @@ -2052,10 +2052,10 @@ def create_sea_shipping_estimate_with_http_info(
) # noqa: E501

# HTTP header `Content-Type`
header_params[
"Content-Type"
] = self.api_client.select_header_content_type( # noqa: E501
["application/json"]
header_params["Content-Type"] = (
self.api_client.select_header_content_type( # noqa: E501
["application/json"]
)
) # noqa: E501

# Authentication setting
Expand Down Expand Up @@ -2250,10 +2250,10 @@ def create_shipping_estimate_with_http_info(
) # noqa: E501

# HTTP header `Content-Type`
header_params[
"Content-Type"
] = self.api_client.select_header_content_type( # noqa: E501
["application/json"]
header_params["Content-Type"] = (
self.api_client.select_header_content_type( # noqa: E501
["application/json"]
)
) # noqa: E501

# Authentication setting
Expand Down Expand Up @@ -2448,10 +2448,10 @@ def create_vehicle_estimate_with_http_info(
) # noqa: E501

# HTTP header `Content-Type`
header_params[
"Content-Type"
] = self.api_client.select_header_content_type( # noqa: E501
["application/json"]
header_params["Content-Type"] = (
self.api_client.select_header_content_type( # noqa: E501
["application/json"]
)
) # noqa: E501

# Authentication setting
Expand Down
16 changes: 8 additions & 8 deletions patch_api/api/order_line_items_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -268,10 +268,10 @@ def create_order_line_item_with_http_info(
) # noqa: E501

# HTTP header `Content-Type`
header_params[
"Content-Type"
] = self.api_client.select_header_content_type( # noqa: E501
["application/json"]
header_params["Content-Type"] = (
self.api_client.select_header_content_type( # noqa: E501
["application/json"]
)
) # noqa: E501

# Authentication setting
Expand Down Expand Up @@ -696,10 +696,10 @@ def update_order_line_item_with_http_info(
) # noqa: E501

# HTTP header `Content-Type`
header_params[
"Content-Type"
] = self.api_client.select_header_content_type( # noqa: E501
["application/json"]
header_params["Content-Type"] = (
self.api_client.select_header_content_type( # noqa: E501
["application/json"]
)
) # noqa: E501

# Authentication setting
Expand Down
16 changes: 8 additions & 8 deletions patch_api/api/orders_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -433,10 +433,10 @@ def create_order_with_http_info(self, create_order_request, **kwargs): # noqa:
) # noqa: E501

# HTTP header `Content-Type`
header_params[
"Content-Type"
] = self.api_client.select_header_content_type( # noqa: E501
["application/json"]
header_params["Content-Type"] = (
self.api_client.select_header_content_type( # noqa: E501
["application/json"]
)
) # noqa: E501

# Authentication setting
Expand Down Expand Up @@ -808,10 +808,10 @@ def place_order_with_http_info(self, id, **kwargs): # noqa: E501
) # noqa: E501

# HTTP header `Content-Type`
header_params[
"Content-Type"
] = self.api_client.select_header_content_type( # noqa: E501
["application/json"]
header_params["Content-Type"] = (
self.api_client.select_header_content_type( # noqa: E501
["application/json"]
)
) # noqa: E501

# Authentication setting
Expand Down
8 changes: 5 additions & 3 deletions patch_api/models/create_air_shipping_estimate_request.py
Original file line number Diff line number Diff line change
Expand Up @@ -311,9 +311,11 @@ def to_dict(self):
elif isinstance(value, dict):
result[attr] = dict(
map(
lambda item: (item[0], item[1].to_dict())
if hasattr(item[1], "to_dict")
else item,
lambda item: (
(item[0], item[1].to_dict())
if hasattr(item[1], "to_dict")
else item
),
value.items(),
)
)
Expand Down
8 changes: 5 additions & 3 deletions patch_api/models/create_bitcoin_estimate_request.py
Original file line number Diff line number Diff line change
Expand Up @@ -196,9 +196,11 @@ def to_dict(self):
elif isinstance(value, dict):
result[attr] = dict(
map(
lambda item: (item[0], item[1].to_dict())
if hasattr(item[1], "to_dict")
else item,
lambda item: (
(item[0], item[1].to_dict())
if hasattr(item[1], "to_dict")
else item
),
value.items(),
)
)
Expand Down
8 changes: 5 additions & 3 deletions patch_api/models/create_ecommerce_estimate_request.py
Original file line number Diff line number Diff line change
Expand Up @@ -258,9 +258,11 @@ def to_dict(self):
elif isinstance(value, dict):
result[attr] = dict(
map(
lambda item: (item[0], item[1].to_dict())
if hasattr(item[1], "to_dict")
else item,
lambda item: (
(item[0], item[1].to_dict())
if hasattr(item[1], "to_dict")
else item
),
value.items(),
)
)
Expand Down
8 changes: 5 additions & 3 deletions patch_api/models/create_ethereum_estimate_request.py
Original file line number Diff line number Diff line change
Expand Up @@ -222,9 +222,11 @@ def to_dict(self):
elif isinstance(value, dict):
result[attr] = dict(
map(
lambda item: (item[0], item[1].to_dict())
if hasattr(item[1], "to_dict")
else item,
lambda item: (
(item[0], item[1].to_dict())
if hasattr(item[1], "to_dict")
else item
),
value.items(),
)
)
Expand Down
8 changes: 5 additions & 3 deletions patch_api/models/create_flight_estimate_request.py
Original file line number Diff line number Diff line change
Expand Up @@ -290,9 +290,11 @@ def to_dict(self):
elif isinstance(value, dict):
result[attr] = dict(
map(
lambda item: (item[0], item[1].to_dict())
if hasattr(item[1], "to_dict")
else item,
lambda item: (
(item[0], item[1].to_dict())
if hasattr(item[1], "to_dict")
else item
),
value.items(),
)
)
Expand Down
8 changes: 5 additions & 3 deletions patch_api/models/create_hotel_estimate_request.py
Original file line number Diff line number Diff line change
Expand Up @@ -286,9 +286,11 @@ def to_dict(self):
elif isinstance(value, dict):
result[attr] = dict(
map(
lambda item: (item[0], item[1].to_dict())
if hasattr(item[1], "to_dict")
else item,
lambda item: (
(item[0], item[1].to_dict())
if hasattr(item[1], "to_dict")
else item
),
value.items(),
)
)
Expand Down
8 changes: 5 additions & 3 deletions patch_api/models/create_mass_estimate_request.py
Original file line number Diff line number Diff line change
Expand Up @@ -163,9 +163,11 @@ def to_dict(self):
elif isinstance(value, dict):
result[attr] = dict(
map(
lambda item: (item[0], item[1].to_dict())
if hasattr(item[1], "to_dict")
else item,
lambda item: (
(item[0], item[1].to_dict())
if hasattr(item[1], "to_dict")
else item
),
value.items(),
)
)
Expand Down
8 changes: 5 additions & 3 deletions patch_api/models/create_order_line_item_request.py
Original file line number Diff line number Diff line change
Expand Up @@ -357,9 +357,11 @@ def to_dict(self):
elif isinstance(value, dict):
result[attr] = dict(
map(
lambda item: (item[0], item[1].to_dict())
if hasattr(item[1], "to_dict")
else item,
lambda item: (
(item[0], item[1].to_dict())
if hasattr(item[1], "to_dict")
else item
),
value.items(),
)
)
Expand Down
8 changes: 5 additions & 3 deletions patch_api/models/create_order_request.py
Original file line number Diff line number Diff line change
Expand Up @@ -445,9 +445,11 @@ def to_dict(self):
elif isinstance(value, dict):
result[attr] = dict(
map(
lambda item: (item[0], item[1].to_dict())
if hasattr(item[1], "to_dict")
else item,
lambda item: (
(item[0], item[1].to_dict())
if hasattr(item[1], "to_dict")
else item
),
value.items(),
)
)
Expand Down
8 changes: 5 additions & 3 deletions patch_api/models/create_rail_shipping_estimate_request.py
Original file line number Diff line number Diff line change
Expand Up @@ -389,9 +389,11 @@ def to_dict(self):
elif isinstance(value, dict):
result[attr] = dict(
map(
lambda item: (item[0], item[1].to_dict())
if hasattr(item[1], "to_dict")
else item,
lambda item: (
(item[0], item[1].to_dict())
if hasattr(item[1], "to_dict")
else item
),
value.items(),
)
)
Expand Down
Loading
Loading