1
Fork 0
mirror of https://github.com/RGBCube/GitHubWrapper synced 2025-07-08 15:17:35 +00:00

Small typo

This commit is contained in:
sudosnok 2022-03-27 10:49:22 +01:00
parent 1f5eef19e7
commit 24d539a789

View file

@ -51,7 +51,7 @@ class Paginator:
self.session = session self.session = session
self.response = response self.response = response
self.should_paginate = bool(self.response.headers.get('Link', False)) self.should_paginate = bool(self.response.headers.get('Link', False))
types: dict[str, User | ...] = { types: dict[str, APIOBJECT] = {
'user': User, 'user': User,
} }
self.target_type = types[target_type] self.target_type = types[target_type]