Fix sync example (#741)

This commit is contained in:
Tomáš Bedřich 2020-12-01 09:01:10 +01:00 committed by GitHub
parent 28a841fad4
commit b8c52c3a92
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -84,7 +84,7 @@ class Auth:
self.host = host
self.access_token = access_token
async def request(self, method: str, path: str, **kwargs) -> requests.Response:
def request(self, method: str, path: str, **kwargs) -> requests.Response:
"""Make a request."""
headers = kwargs.get("headers")