mirror of
				https://github.com/RGBCube/GitHubWrapper
				synced 2025-10-31 14:02:46 +00:00 
			
		
		
		
	Fix typos and __all__s
This commit is contained in:
		
							parent
							
								
									8f11987586
								
							
						
					
					
						commit
						768b81683c
					
				
					 4 changed files with 7 additions and 6 deletions
				
			
		|  | @ -32,3 +32,4 @@ __copyright__ = "Copyright (c) 2022-present VarMonke, sudosnok & contributors" | |||
| from .errors import * | ||||
| from .internals import * | ||||
| from .objects import * | ||||
| from . import utils | ||||
|  |  | |||
|  | @ -49,5 +49,5 @@ class RatelimitReached(GitHubError): | |||
| 
 | ||||
| 
 | ||||
| def error_from_request(request: ClientResponse, /) -> BaseHTTPError: | ||||
|     # TODO: Make specific errrors | ||||
|     # TODO: Make specific errors | ||||
|     return HTTPError(request) | ||||
|  |  | |||
|  | @ -1,9 +1,10 @@ | |||
| from typing import Literal, TypedDict | ||||
| 
 | ||||
| from typing_extensions import NotRequired | ||||
| 
 | ||||
| __all__ = ("SecurtiyAndAnalysis",) | ||||
| 
 | ||||
| from typing import Literal, TypedDict, TYPE_CHECKING | ||||
| 
 | ||||
| if TYPE_CHECKING: | ||||
|     from typing_extensions import NotRequired | ||||
| 
 | ||||
| 
 | ||||
| class AdvancedSecurity(TypedDict): | ||||
|     status: Literal["enabled", "disabled"] | ||||
|  |  | |||
|  | @ -5,7 +5,6 @@ __all__ = ( | |||
|     "str_to_datetime", | ||||
|     "repr_dt", | ||||
|     "bytes_to_b64", | ||||
|     "error_from_request", | ||||
| ) | ||||
| 
 | ||||
| from base64 import b64encode | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 RGBCube
						RGBCube