sphinx_pyppeteer_builder/typings/sphinx/builders/html/_assets.pyi

70 lines
1.4 KiB
Python

"""
This type stub file was generated by pyright.
"""
import os
from typing import TYPE_CHECKING
if TYPE_CHECKING:
...
class _CascadingStyleSheet:
filename: str | os.PathLike[str]
priority: int
attributes: dict[str, str]
def __init__(self, filename: str | os.PathLike[str], /, *, priority: int = ..., rel: str = ..., type: str = ..., **attributes: str) -> None:
...
def __str__(self) -> str:
...
def __eq__(self, other) -> bool:
...
def __hash__(self) -> int:
...
def __setattr__(self, key, value):
...
def __delattr__(self, key):
...
def __getattr__(self, key): # -> Any:
...
def __getitem__(self, key): # -> str:
...
class _JavaScript:
filename: str | os.PathLike[str]
priority: int
attributes: dict[str, str]
def __init__(self, filename: str | os.PathLike[str], /, *, priority: int = ..., **attributes: str) -> None:
...
def __str__(self) -> str:
...
def __eq__(self, other) -> bool:
...
def __hash__(self) -> int:
...
def __setattr__(self, key, value):
...
def __delattr__(self, key):
...
def __getattr__(self, key): # -> Any:
...
def __getitem__(self, key): # -> str:
...