File tree Expand file tree Collapse file tree 3 files changed +4
-4
lines changed
end_to_end_tests/golden-record/my_test_api_client
integration-tests/integration_tests
openapi_python_client/templates Expand file tree Collapse file tree 3 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -59,6 +59,6 @@ class AuthenticatedClient(Client):
5959 auth_header_name : str = "Authorization"
6060
6161 def get_headers (self ) -> Dict [str , str ]:
62- auth_header_value = f"{ self .prefix } { self .token } " if self .prefix else self .token
6362 """Get headers to be used in authenticated endpoints"""
63+ auth_header_value = f"{ self .prefix } { self .token } " if self .prefix else self .token
6464 return {self .auth_header_name : auth_header_value , ** self .headers }
Original file line number Diff line number Diff line change @@ -59,6 +59,6 @@ class AuthenticatedClient(Client):
5959 auth_header_name : str = "Authorization"
6060
6161 def get_headers (self ) -> Dict [str , str ]:
62- auth_header_value = f"{ self .prefix } { self .token } " if self .prefix else self .token
6362 """Get headers to be used in authenticated endpoints"""
63+ auth_header_value = f"{ self .prefix } { self .token } " if self .prefix else self .token
6464 return {self .auth_header_name : auth_header_value , ** self .headers }
Original file line number Diff line number Diff line change @@ -56,6 +56,6 @@ class AuthenticatedClient(Client):
5656 auth_header_name: str = "Authorization"
5757
5858 def get_headers(self) -> Dict[str, str]:
59- auth_header_value = f"{self.prefix} {self.token}" if self.prefix else self.token
6059 """Get headers to be used in authenticated endpoints"""
61- return {self.auth_header_name: auth_header_value, **self.headers}
60+ auth_header_value = f"{self.prefix} {self.token}" if self.prefix else self.token
61+ return {self.auth_header_name: auth_header_value, **self.headers}
You can’t perform that action at this time.
0 commit comments