Skip to content
Merged
Show file tree
Hide file tree
Changes from 3 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion stubs/reportlab/METADATA.toml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
version = "4.5.0"
version = "4.5.1"
# GitHub mirror of https://hg.reportlab.com/hg-public/reportlab/file
upstream-repository = "https://github.com/MrBitBucket/reportlab-mirror"

Expand Down
9 changes: 9 additions & 0 deletions stubs/reportlab/reportlab/lib/utils.pyi
Original file line number Diff line number Diff line change
Expand Up @@ -210,3 +210,12 @@ class KlassStore:
def __contains__(self, k) -> bool: ...
def __getitem__(self, k: str) -> type: ...
def get(self, k, default=None): ...

@type_check_only
class _rl_warn:
def __init__(self) -> None: ...
def __call__(self, message: str) -> None: ...
@property
def warnings_seen(self) -> dict[str, set[str]]: ...

rl_warn: _rl_warn
7 changes: 5 additions & 2 deletions stubs/reportlab/reportlab/rl_config.pyi
Original file line number Diff line number Diff line change
@@ -1,8 +1,11 @@
from _typeshed import Incomplete
from collections.abc import Callable
from typing import Literal
from typing import Any, Literal
from weakref import ReferenceType

def register_reset(func: Callable[[], Callable[[], object] | None]) -> None: ...
def register_reset(
Comment thread
sobolevn marked this conversation as resolved.
func: Callable[[], Callable[[], object] | None], callback: Callable[[ReferenceType[Any]], Any] | None = None
Comment thread
sobolevn marked this conversation as resolved.
Outdated
) -> None: ...
def _reset() -> None: ...

allowTableBoundsErrors: int
Expand Down
Loading