mirror of
https://github.com/tiennm99/serena.git
synced 2026-10-12 20:15:56 +00:00
Minor typing issue
This commit is contained in:
1 parent
01bbf7254e
commit
efb895e2b3
1 file changed
+2
-2
@@ -10,7 +10,7 @@ This file provides the Python types corresponding to the Typescript types define
|
||||
"""
|
||||
|
||||
from enum import Enum, IntEnum, IntFlag
|
||||
from typing import Literal, NotRequired, Union
|
||||
from typing import Literal, NotRequired, Union, Any
|
||||
|
||||
from typing_extensions import TypedDict
|
||||
|
||||
@@ -179,7 +179,7 @@ class SymbolKind(IntEnum):
|
||||
TypeParameter = 26
|
||||
|
||||
@classmethod
|
||||
def _missing_(cls, value: int) -> "SymbolKind":
|
||||
def _missing_(cls, value: Any) -> "SymbolKind":
|
||||
return cls.Unknown
|
||||
|
||||
|
||||
|
||||
Reference in new issue
Block a user