File: explicit_profiler.pyi

package info (click to toggle)
python-line-profiler 5.0.0-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 1,256 kB
  • sloc: python: 8,119; sh: 810; ansic: 297; makefile: 14
file content (33 lines) | stat: -rw-r--r-- 707 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
from pathlib import PurePath
from typing import Dict
from typing import List
from typing import Callable
from typing import Union
from _typeshed import Incomplete


class GlobalProfiler:
    setup_config: Dict[str, List[str]]
    output_prefix: str
    write_config: Dict[str, bool]
    show_config: Dict[str, bool]
    enabled: bool | None

    def __init__(self,
                 config: Union[str, PurePath, bool, None] = None) -> None:
        ...

    def enable(self, output_prefix: Incomplete | None = ...) -> None:
        ...

    def disable(self) -> None:
        ...

    def __call__(self, func: Callable) -> Callable:
        ...

    def show(self) -> None:
        ...


profile: Incomplete