File: explicit_profiler.pyi

package info (click to toggle)
python-line-profiler 4.2.0-1
  • links: PTS, VCS
  • area: main
  • in suites: trixie
  • size: 776 kB
  • sloc: python: 3,097; sh: 810; ansic: 65; makefile: 15
file content (30 lines) | stat: -rw-r--r-- 587 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
from typing import Dict
from typing import List
from typing import Callable
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) -> 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