File: plugins.pyi

package info (click to toggle)
python-imageio 2.37.0-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 2,016 kB
  • sloc: python: 26,044; makefile: 138
file content (28 lines) | stat: -rw-r--r-- 706 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
from typing import Any, Dict, Optional
from ..core.v3_plugin_api import PluginV3

class PluginConfig:
    name: str
    class_name: str
    module_name: str
    is_legacy: bool
    package_name: Optional[str] = None
    install_name: Optional[str] = None
    legacy_args: Optional[dict] = None
    @property
    def format(self) -> Any: ...
    @property
    def plugin_class(self) -> PluginV3: ...
    def __init__(
        self,
        name: str,
        class_name: str,
        module_name: str,
        *,
        is_legacy: bool = False,
        package_name: str = None,
        install_name: str = None,
        legacy_args: dict = None,
    ) -> None: ...

known_plugins: Dict[str, PluginConfig]