@@ -322,10 +322,9 @@ def _tenant_invite_delete_serialize(
322
322
# process the body parameter
323
323
324
324
# set the HTTP header `Accept`
325
- if "Accept" not in _header_params :
326
- _header_params ["Accept" ] = self .api_client .select_header_accept (
327
- ["application/json" ]
328
- )
325
+ _header_params ["Accept" ] = self .api_client .select_header_accept (
326
+ ["application/json" ]
327
+ )
329
328
330
329
# authentication setting
331
330
_auth_settings : List [str ] = ["cookieAuth" , "bearerAuth" ]
@@ -640,10 +639,9 @@ def _tenant_invite_update_serialize(
640
639
_body_params = update_tenant_invite_request
641
640
642
641
# set the HTTP header `Accept`
643
- if "Accept" not in _header_params :
644
- _header_params ["Accept" ] = self .api_client .select_header_accept (
645
- ["application/json" ]
646
- )
642
+ _header_params ["Accept" ] = self .api_client .select_header_accept (
643
+ ["application/json" ]
644
+ )
647
645
648
646
# set the HTTP header `Content-Type`
649
647
if _content_type :
@@ -929,10 +927,9 @@ def _webhook_create_serialize(
929
927
_body_params = webhook_worker_create_request
930
928
931
929
# set the HTTP header `Accept`
932
- if "Accept" not in _header_params :
933
- _header_params ["Accept" ] = self .api_client .select_header_accept (
934
- ["application/json" ]
935
- )
930
+ _header_params ["Accept" ] = self .api_client .select_header_accept (
931
+ ["application/json" ]
932
+ )
936
933
937
934
# set the HTTP header `Content-Type`
938
935
if _content_type :
@@ -1203,10 +1200,9 @@ def _webhook_delete_serialize(
1203
1200
# process the body parameter
1204
1201
1205
1202
# set the HTTP header `Accept`
1206
- if "Accept" not in _header_params :
1207
- _header_params ["Accept" ] = self .api_client .select_header_accept (
1208
- ["application/json" ]
1209
- )
1203
+ _header_params ["Accept" ] = self .api_client .select_header_accept (
1204
+ ["application/json" ]
1205
+ )
1210
1206
1211
1207
# authentication setting
1212
1208
_auth_settings : List [str ] = ["cookieAuth" , "bearerAuth" ]
@@ -1467,10 +1463,9 @@ def _webhook_list_serialize(
1467
1463
# process the body parameter
1468
1464
1469
1465
# set the HTTP header `Accept`
1470
- if "Accept" not in _header_params :
1471
- _header_params ["Accept" ] = self .api_client .select_header_accept (
1472
- ["application/json" ]
1473
- )
1466
+ _header_params ["Accept" ] = self .api_client .select_header_accept (
1467
+ ["application/json" ]
1468
+ )
1474
1469
1475
1470
# authentication setting
1476
1471
_auth_settings : List [str ] = ["cookieAuth" , "bearerAuth" ]
@@ -1731,10 +1726,9 @@ def _webhook_requests_list_serialize(
1731
1726
# process the body parameter
1732
1727
1733
1728
# set the HTTP header `Accept`
1734
- if "Accept" not in _header_params :
1735
- _header_params ["Accept" ] = self .api_client .select_header_accept (
1736
- ["application/json" ]
1737
- )
1729
+ _header_params ["Accept" ] = self .api_client .select_header_accept (
1730
+ ["application/json" ]
1731
+ )
1738
1732
1739
1733
# authentication setting
1740
1734
_auth_settings : List [str ] = ["cookieAuth" , "bearerAuth" ]
0 commit comments