prettytable: get_X_string return str (#8791)

This commit is contained in:
Hugo van Kemenade
2022-09-25 23:36:04 +03:00
committed by GitHub
parent f611d18f70
commit a38d619c70
2 changed files with 5 additions and 5 deletions

View File

@@ -40,4 +40,4 @@ class ColorTable(PrettyTable):
@theme.setter
def theme(self, value: Theme): ...
def update_theme(self) -> None: ...
def get_string(self, **kwargs): ...
def get_string(self, **kwargs) -> str: ...

View File

@@ -210,11 +210,11 @@ class PrettyTable:
def clear_rows(self) -> None: ...
def clear(self) -> None: ...
def copy(self): ...
def get_string(self, **kwargs): ...
def get_string(self, **kwargs) -> str: ...
def paginate(self, page_length: int = ..., line_break: str = ..., **kwargs): ...
def get_csv_string(self, **kwargs): ...
def get_json_string(self, **kwargs): ...
def get_html_string(self, **kwargs): ...
def get_csv_string(self, **kwargs) -> str: ...
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_db_cursor(cursor, **kwargs): ...