Skip to content

Commit 2f6cb8d

Browse files
committed
upd
1 parent 8615400 commit 2f6cb8d

4 files changed

Lines changed: 8 additions & 3 deletions

File tree

CHANGELOG.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,11 @@
22

33
## [Unreleased]
44

5+
## 0.5.19
6+
7+
### Changed
8+
- Reduced per-call overhead on cached MapInfra/TaskInfra paths by ~76% via ephemeral `_state` dataclass bypassing pydantic's `__getattr__`.
9+
510
## 0.5.18
611

712
### Changed

exca/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,4 +12,4 @@
1212
from .task import SubmitInfra as SubmitInfra
1313
from .task import TaskInfra as TaskInfra
1414

15-
__version__ = "0.5.18"
15+
__version__ = "0.5.19"

exca/test_map.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -321,7 +321,7 @@ def test_no_pydantic_getattr_on_cached_path(
321321
list(whatever.process(items)) # populate cache
322322
list(whatever.process(items)) # warm up lazy state
323323
calls: list[str] = []
324-
original = pydantic.BaseModel.__getattr__
324+
original = pydantic.BaseModel.__getattr__ # type: ignore[attr-defined]
325325

326326
def tracking_getattr(self: tp.Any, item: str) -> tp.Any:
327327
calls.append(item)

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ name = "exca"
33
readme = "README.md"
44
authors = [{name = "Meta FAIR"}]
55
requires-python = ">=3.11"
6-
version = "0.5.18"
6+
version = "0.5.19"
77
description = "Execution and caching tool for python"
88

99
dependencies = [

0 commit comments

Comments
 (0)