Skip to content

Commit

Permalink
Backport cached_property
Browse files Browse the repository at this point in the history
  • Loading branch information
janheinrichmerker committed Apr 25, 2022
1 parent 46ab12d commit 45853bd
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
3 changes: 2 additions & 1 deletion ir_axioms/backend/pyserini/__init__.py
Original file line number Diff line number Diff line change
@@ -1,10 +1,11 @@
from dataclasses import dataclass
from functools import cached_property, lru_cache
from functools import lru_cache
from json import loads
from logging import warning
from pathlib import Path
from typing import Optional, Union, Callable, NamedTuple, Sequence

from cached_property import cached_property
from ir_datasets import load, Dataset
from ir_datasets.indices import Docstore

Expand Down
3 changes: 2 additions & 1 deletion ir_axioms/backend/pyterrier/__init__.py
Original file line number Diff line number Diff line change
@@ -1,10 +1,11 @@
from dataclasses import dataclass
from functools import cached_property, lru_cache
from functools import lru_cache
from logging import warning
from pathlib import Path
from re import split
from typing import Optional, Union, Callable, NamedTuple, Sequence

from cached_property import cached_property
from ir_datasets import Dataset, load
from ir_datasets.indices import Docstore

Expand Down

0 comments on commit 45853bd

Please sign in to comment.