mirror of
				https://github.com/RGBCube/GitHubWrapper
				synced 2025-10-31 05:52:45 +00:00 
			
		
		
		
	Actually fixed the http typehints
This commit is contained in:
		
							parent
							
								
									a4c59375d0
								
							
						
					
					
						commit
						d5a99bb0c4
					
				
					 1 changed files with 6 additions and 1 deletions
				
			
		|  | @ -1,6 +1,11 @@ | |||
| #== objects.py ==# | ||||
| from __future__ import annotations | ||||
| 
 | ||||
| from typing import TYPE_CHECKING | ||||
| 
 | ||||
| if TYPE_CHECKING: | ||||
|     from .http import http | ||||
| 
 | ||||
| from datetime import datetime | ||||
| 
 | ||||
| __all__ = ( | ||||
|  | @ -29,7 +34,7 @@ class APIObject: | |||
|         '_http' | ||||
|     ) | ||||
| 
 | ||||
|     def __init__(self, response: dict[str, str | int | dict[str, str | int]], _http) -> None: | ||||
|     def __init__(self, response: dict[str, str | int | dict[str, str | int]], _http: http) -> None: | ||||
|         self._http = _http | ||||
|         self._response = response | ||||
| 
 | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 sudosnok
						sudosnok