File: from_file.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 (16 lines) | stat: -rw-r--r-- 401 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
from box.box import Box as Box
from box.box_list import BoxList as BoxList
from os import PathLike
from typing import Any, Union

def box_from_file(
    file: Union[str, PathLike],
    file_type: str = ...,
    encoding: str = ...,
    errors: str = ...,
    **kwargs: Any,
) -> Union[Box, BoxList]: ...
def box_from_string(
    content: str,
    string_type: str = ...,
) -> Union[Box, BoxList]: ...