mirror of
https://github.com/davidhalter/jedi.git
synced 2025-12-23 13:51:27 +08:00
These attributes aren't optional
They just don't yet have a value.
This commit is contained in:
@@ -39,7 +39,7 @@ class AbstractFilter(object):
|
|||||||
|
|
||||||
|
|
||||||
class FilterWrapper(object):
|
class FilterWrapper(object):
|
||||||
name_wrapper_class: Optional[Type[NameWrapper]] = None
|
name_wrapper_class: Type[NameWrapper]
|
||||||
|
|
||||||
def __init__(self, wrapped_filter):
|
def __init__(self, wrapped_filter):
|
||||||
self._wrapped_filter = wrapped_filter
|
self._wrapped_filter = wrapped_filter
|
||||||
|
|||||||
@@ -26,7 +26,7 @@ def _merge_name_docs(names):
|
|||||||
|
|
||||||
class AbstractNameDefinition(object):
|
class AbstractNameDefinition(object):
|
||||||
start_pos: Optional[Tuple[int, int]] = None
|
start_pos: Optional[Tuple[int, int]] = None
|
||||||
string_name: Optional[str] = None
|
string_name: str
|
||||||
parent_context = None
|
parent_context = None
|
||||||
tree_name = None
|
tree_name = None
|
||||||
is_value_name = True
|
is_value_name = True
|
||||||
|
|||||||
Reference in New Issue
Block a user