mirror of
https://github.com/outbackdingo/patroni.git
synced 2026-08-25 14:53:37 +00:00
They started showing deprecation warning when importing ALL and FRAME constants.
18 lines
564 B
Python
18 lines
564 B
Python
from enum import IntEnum
|
|
from typing import Any, Dict, List
|
|
class HRuleStyle(IntEnum):
|
|
FRAME = 0
|
|
ALL = 1
|
|
FRAME = HRuleStyle.FRAME
|
|
ALL = HRuleStyle.ALL
|
|
class PrettyTable:
|
|
def __init__(self, *args: str, **kwargs: Any) -> None: ...
|
|
def _stringify_hrule(self, options: Dict[str, Any], where: str = '') -> str: ...
|
|
@property
|
|
def align(self) -> Dict[str, str]: ...
|
|
@align.setter
|
|
def align(self, val: str) -> None: ...
|
|
def add_row(self, row: List[Any]) -> None: ...
|
|
def __str__(self) -> str: ...
|
|
def __repr__(self) -> str: ...
|