forked from auracaster/bumble_mirror
Merge pull request #281 from zxzxwu/cleanup-transport
Replace | typing usage with Optional and Union
This commit is contained in:
@@ -80,7 +80,7 @@ class BaseError(Exception):
|
||||
|
||||
def __init__(
|
||||
self,
|
||||
error_code: int | None,
|
||||
error_code: Optional[int],
|
||||
error_namespace: str = '',
|
||||
error_name: str = '',
|
||||
details: str = '',
|
||||
|
||||
Reference in New Issue
Block a user