File: config_box.pyi

package info (click to toggle)
python-box 7.3.2-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 572 kB
  • sloc: python: 3,471; makefile: 4
file content (15 lines) | stat: -rw-r--r-- 805 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
from box.box import Box as Box
from typing import Any, Optional, List

class ConfigBox(Box):
    def __getattr__(self, item: Any): ...
    def __dir__(self) -> List[str]: ...
    def bool(self, item: Any, default: Optional[Any] = ...): ...
    def int(self, item: Any, default: Optional[Any] = ...): ...
    def float(self, item: Any, default: Optional[Any] = ...): ...
    def list(self, item: Any, default: Optional[Any] = ..., spliter: str = ..., strip: bool = ..., mod: Optional[Any] = ...): ...  # type: ignore
    def getboolean(self, item: Any, default: Optional[Any] = ...): ...
    def getint(self, item: Any, default: Optional[Any] = ...): ...
    def getfloat(self, item: Any, default: Optional[Any] = ...): ...
    def copy(self) -> "ConfigBox": ...
    def __copy__(self) -> "ConfigBox": ...