Skip to content

Commit 5d5ac3e

Browse files
committed
Fixing is_cached
1 parent e1517a8 commit 5d5ac3e

3 files changed

Lines changed: 3 additions & 3 deletions

File tree

jee_data_base/core/cache.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@ def find_class(self, module, name):
9797

9898
raise FileNotFoundError(f"No cache file for '{data_name}' (schema {self.schema_version})")
9999

100-
def is_cached(sef,data_name:str)->bool:
100+
def is_cached(self,data_name:str)->bool:
101101
pattern = rf"^\d*-{data_name}-{self.schema_version}.pkl$"
102102
cache_files_paths = os.listdir(cache_path)
103103
cache_files = [Path(file).name for file in cache_files_paths]

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
44

55
[project]
66
name = "jee_data_base"
7-
version = "0.1.2.post4"
7+
version = "0.1.2.post5"
88
description = "JEE Mains PYQS data base"
99
authors = [{ name="HostServer001", email="[email protected]" }]
1010
readme = "README.md"

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
setup(
44
name="jee_data_base",
5-
version="0.1.2.post4",
5+
version="0.1.2.post5",
66
packages=find_packages(),
77
install_requires=[
88
"hdbscan",

0 commit comments

Comments
 (0)