mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-23 04:11:28 +08:00
Bump prettytable to 3.4.* (#8621)
This commit is contained in:
committed by
GitHub
parent
b417d5796d
commit
9e69627501
@@ -1,4 +1,4 @@
|
||||
version = "3.3.*"
|
||||
version = "3.4.*"
|
||||
|
||||
[tool.stubtest]
|
||||
ignore_missing_stub = false
|
||||
|
||||
@@ -1,6 +1,7 @@
|
||||
from _typeshed import Incomplete
|
||||
from html.parser import HTMLParser
|
||||
from typing import Any
|
||||
from typing_extensions import Literal, TypedDict
|
||||
|
||||
FRAME: int
|
||||
ALL: int
|
||||
@@ -16,6 +17,8 @@ SINGLE_BORDER: int
|
||||
DOUBLE_BORDER: int
|
||||
BASE_ALIGN_VALUE: str
|
||||
|
||||
class _EmptyDictionary(TypedDict): ...
|
||||
|
||||
class PrettyTable:
|
||||
encoding: Any
|
||||
def __init__(self, field_names: Any | None = ..., **kwargs): ...
|
||||
@@ -199,19 +202,25 @@ class PrettyTable:
|
||||
def xhtml(self, val: bool) -> None: ...
|
||||
@property
|
||||
def rows(self) -> list[Incomplete]: ...
|
||||
@property
|
||||
def header_align(self) -> dict[str, str]: ...
|
||||
@header_align.setter
|
||||
def header_align(self, val: Literal["l", "c", "r"] | _EmptyDictionary | None) -> None: ...
|
||||
def add_autoindex(self, fieldname: str = ...): ...
|
||||
def get_latex_string(self, **kwargs) -> str: ...
|
||||
def set_style(self, style) -> None: ...
|
||||
def add_rows(self, rows) -> None: ...
|
||||
def add_row(self, row) -> None: ...
|
||||
def del_row(self, row_index) -> None: ...
|
||||
def add_column(self, fieldname, column, align: str = ..., valign: str = ...) -> None: ...
|
||||
def add_column(
|
||||
self, fieldname, column, align: str = ..., valign: str = ..., header_align: Literal["l", "c", "r"] = ...
|
||||
) -> None: ...
|
||||
def del_column(self, fieldname) -> None: ...
|
||||
def clear_rows(self) -> None: ...
|
||||
def clear(self) -> None: ...
|
||||
def copy(self): ...
|
||||
def get_string(self, **kwargs): ...
|
||||
def paginate(self, page_length: int = ..., **kwargs): ...
|
||||
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): ...
|
||||
|
||||
Reference in New Issue
Block a user