cache-database 0.1.0__tar.gz → 0.1.1__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: cache_database
3
- Version: 0.1.0
3
+ Version: 0.1.1
4
4
  Summary: cache database
5
5
  Author-email: moon <lianjiao20@gmail.com>
6
6
  License: MIT
@@ -1,7 +1,7 @@
1
1
  class Table:
2
2
  store:list[dict] =[]
3
3
  id_index:int = 0
4
- arr:list = []
4
+ arr:list[str] = []
5
5
 
6
6
  def __init__(self):
7
7
  pass
@@ -37,6 +37,9 @@ class Table:
37
37
  i[key]=data[key]
38
38
  return True
39
39
  return False
40
+
41
+ def fields(self) -> list[str]:
42
+ return self.arr
40
43
 
41
44
 
42
45
 
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: cache_database
3
- Version: 0.1.0
3
+ Version: 0.1.1
4
4
  Summary: cache database
5
5
  Author-email: moon <lianjiao20@gmail.com>
6
6
  License: MIT
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
4
4
 
5
5
  [project]
6
6
  name = "cache_database"
7
- version = "0.1.0"
7
+ version = "0.1.1"
8
8
  description = "cache database"
9
9
  readme = {file = "README.md", content-type = "text/markdown; charset=UTF-8"}
10
10
  requires-python = ">=3.8"
File without changes
File without changes
File without changes