Replace Any with Incomplete in many places (#9558)

This commit is contained in:
Alex Waygood
2023-01-18 08:48:16 +00:00
committed by GitHub
parent ddfaca3200
commit 4fea314594
460 changed files with 3779 additions and 2909 deletions
@@ -18,7 +18,7 @@ BASE_ALIGN_VALUE: str
class PrettyTable:
encoding: Any
def __init__(self, field_names: Any | None = ..., **kwargs): ...
def __init__(self, field_names: Incomplete | None = ..., **kwargs): ...
def __getattr__(self, name: str): ...
def __getitem__(self, index): ...
@property
@@ -216,7 +216,7 @@ class PrettyTable:
def get_json_string(self, **kwargs) -> str: ...
def get_html_string(self, **kwargs) -> str: ...
def from_csv(fp, field_names: Any | None = ..., **kwargs): ...
def from_csv(fp, field_names: Incomplete | None = ..., **kwargs): ...
def from_db_cursor(cursor, **kwargs): ...
def from_json(json_string, **kwargs): ...