mgraph-ai-service-cache-client 0.2.0__py3-none-any.whl → 0.3.0__py3-none-any.whl

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.

Potentially problematic release.


This version of mgraph-ai-service-cache-client might be problematic. Click here for more details.

@@ -31,16 +31,19 @@ class Service__Fast_API__Client__File__Store(Type_Safe):
31
31
  # Return response data
32
32
  return result.json if result.json else result.text
33
33
 
34
- def store__string__cache_key(self, namespace: str, strategy: Enum__Cache__Store__Strategy, cache_key: str, file_id: Optional[str] = None) -> Dict: # Auto-generated from endpoint post__store__string__cache_key
34
+ def store__string__cache_key(self, namespace: str ,
35
+ strategy : Enum__Cache__Store__Strategy ,
36
+ cache_key: str ,
37
+ body : str ,
38
+ file_id : str = ''
39
+ ) -> Dict: # Auto-generated from endpoint post__store__string__cache_key
35
40
  # Build path
36
- path = f"/{{namespace}}/{{strategy}}/store/string/{cache_key:path}"
37
- body = None
41
+ path = f"/{namespace}/{strategy}/store/string/{cache_key}?file_id={file_id}"
42
+ #body = None
38
43
  # Execute request
39
- result = self.requests.execute(
40
- method = "POST",
41
- path = path,
42
- body = body
43
- )
44
+ result = self.requests.execute(method = "POST",
45
+ path = path ,
46
+ body = body )
44
47
  # Return response data
45
48
  return result.json if result.json else result.text
46
49
 
@@ -61,16 +64,18 @@ class Service__Fast_API__Client__File__Store(Type_Safe):
61
64
  # Return response data
62
65
  return result.json if result.json else result.text
63
66
 
64
- def store__json__cache_key(self, namespace: str, strategy: Enum__Cache__Store__Strategy, cache_key: str, file_id: Optional[str] = None) -> Dict: # Auto-generated from endpoint post__store__json__cache_key
67
+ def store__json__cache_key(self, namespace: str,
68
+ strategy : Enum__Cache__Store__Strategy,
69
+ cache_key: str,
70
+ body : dict ,
71
+ file_id : str = '') -> Dict: # Auto-generated from endpoint post__store__json__cache_key
65
72
  # Build path
66
- path = f"/{{namespace}}/{{strategy}}/store/json/{cache_key:path}"
67
- body = None
73
+ path = f"/{namespace}/{strategy}/store/json/{cache_key}?file_id={file_id}"
74
+ #body = None
68
75
  # Execute request
69
- result = self.requests.execute(
70
- method = "POST",
71
- path = path,
72
- body = body
73
- )
76
+ result = self.requests.execute(method = "POST",
77
+ path = path,
78
+ body = body)
74
79
  # Return response data
75
80
  return result.json if result.json else result.text
76
81
 
@@ -90,10 +95,14 @@ class Service__Fast_API__Client__File__Store(Type_Safe):
90
95
  # Return response data
91
96
  return result.json if result.json else result.text
92
97
 
93
- def store__binary__cache_key(self, namespace: str, strategy: Enum__Cache__Store__Strategy, cache_key: str, file_id: Optional[str] = None) -> Dict: # Auto-generated from endpoint post__store__binary__cache_key
98
+ def store__binary__cache_key(self, namespace: str,
99
+ strategy: Enum__Cache__Store__Strategy,
100
+ cache_key: str,
101
+ body = bytes ,
102
+ file_id: str = '') -> Dict: # Auto-generated from endpoint post__store__binary__cache_key
94
103
  # Build path
95
- path = f"/{{namespace}}/{{strategy}}/store/binary/{cache_key:path}"
96
- body = None
104
+ path = f"/{namespace}/{strategy}/store/binary/{cache_key}?file_id={file_id}"
105
+ #body = None
97
106
  # Execute request
98
107
  result = self.requests.execute(
99
108
  method = "POST",
@@ -1 +1 @@
1
- v0.2.0
1
+ v0.3.0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: mgraph_ai_service_cache__client
3
- Version: 0.2.0
3
+ Version: 0.3.0
4
4
  Summary: MGraph-AI__Service__Cache__Client
5
5
  Home-page: https://github.com/the-cyber-boardroom/MGraph-AI__Service__Cache__Client
6
6
  License: Apache 2.0
@@ -17,7 +17,7 @@ Description-Content-Type: text/markdown
17
17
 
18
18
  # MGraph AI Service Cache Client
19
19
 
20
- [![Current Release](https://img.shields.io/badge/release-v0.2.0-blue)](https://github.com/the-cyber-boardroom/MGraph-AI__Service__Cache__Client/releases)
20
+ [![Current Release](https://img.shields.io/badge/release-v0.3.0-blue)](https://github.com/the-cyber-boardroom/MGraph-AI__Service__Cache__Client/releases)
21
21
  [![Python](https://img.shields.io/badge/python-3.12-blue)](https://www.python.org/downloads/)
22
22
  [![FastAPI](https://img.shields.io/badge/FastAPI-0.116.1-009688)](https://fastapi.tiangolo.com/)
23
23
  [![AWS Lambda](https://img.shields.io/badge/AWS-Lambda-orange)](https://aws.amazon.com/lambda/)
@@ -22,7 +22,7 @@ mgraph_ai_service_cache_client/client_contract/info/Service__Fast_API__Client__I
22
22
  mgraph_ai_service_cache_client/client_contract/namespace/Service__Fast_API__Client__Namespace.py,sha256=RbYDhi7MpCPQj2JZS4VaJ4Rn-90sx4na9ZVpt5z-p_I,2477
23
23
  mgraph_ai_service_cache_client/client_contract/retrieve/Service__Fast_API__Client__File__Retrieve.py,sha256=OjPNZ_i1d8iwqhWromodLxBknXee2gF9TLh1BKvOgLg,10010
24
24
  mgraph_ai_service_cache_client/client_contract/server/Service__Fast_API__Client__Server.py,sha256=o6hD0utM9n48BLW0I1mVdGcCIyODywKm4dnTlfL6uXE,1797
25
- mgraph_ai_service_cache_client/client_contract/store/Service__Fast_API__Client__File__Store.py,sha256=fDUYs_zXSlT6rbbVixmZj2PYQKpuvQKaQ7_oyrwlbY8,6725
25
+ mgraph_ai_service_cache_client/client_contract/store/Service__Fast_API__Client__File__Store.py,sha256=tRuwGYdNNe9XrX9ZKU1F_KlT0nCVxyCIvjpM7cgGmqk,7421
26
26
  mgraph_ai_service_cache_client/client_contract/zip/Service__Fast_API__Client__Zip.py,sha256=vDlvGIk_p0TIrDq0ElWN4r2ijD2oExWWTdrZawwKOdM,7456
27
27
  mgraph_ai_service_cache_client/schemas/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
28
28
  mgraph_ai_service_cache_client/schemas/cache/Schema__Cache__Binary__Reference.py,sha256=7k4etDRNSXwOzf5KLYC9Ygo5vor8yx_fmc5sJCLF0Dk,1766
@@ -93,8 +93,8 @@ mgraph_ai_service_cache_client/schemas/errors/Schema__Cache__Error__Unsupported_
93
93
  mgraph_ai_service_cache_client/schemas/errors/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
94
94
  mgraph_ai_service_cache_client/utils/Version.py,sha256=-iKgWjUzrm9eGMdLFsvKPuxZFckmfNE5Y5bw6vSydhY,797
95
95
  mgraph_ai_service_cache_client/utils/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
96
- mgraph_ai_service_cache_client/version,sha256=-zFmPoQ9UG8sK7N1uxJbjpnoaSSC2QPn_c9arR9fcrI,7
97
- mgraph_ai_service_cache_client-0.2.0.dist-info/LICENSE,sha256=xx0jnfkXJvxRnG63LTGOxlggYnIysveWIZ6H3PNdCrQ,11357
98
- mgraph_ai_service_cache_client-0.2.0.dist-info/METADATA,sha256=NLZX0FmMfcce_xFsuG6-pyA4Fjf6dts1Jp4NTRqk_p4,9885
99
- mgraph_ai_service_cache_client-0.2.0.dist-info/WHEEL,sha256=sP946D7jFCHeNz5Iq4fL4Lu-PrWrFsgfLXbbkciIZwg,88
100
- mgraph_ai_service_cache_client-0.2.0.dist-info/RECORD,,
96
+ mgraph_ai_service_cache_client/version,sha256=4apo-i85Xj_wQXKgNhV_C-B8om5MrdAetyEDJ1TebHE,7
97
+ mgraph_ai_service_cache_client-0.3.0.dist-info/LICENSE,sha256=xx0jnfkXJvxRnG63LTGOxlggYnIysveWIZ6H3PNdCrQ,11357
98
+ mgraph_ai_service_cache_client-0.3.0.dist-info/METADATA,sha256=QLYE3qNavA1fx8eQsCSAOYm6NgJp9inoVtp3UgiFSw0,9885
99
+ mgraph_ai_service_cache_client-0.3.0.dist-info/WHEEL,sha256=sP946D7jFCHeNz5Iq4fL4Lu-PrWrFsgfLXbbkciIZwg,88
100
+ mgraph_ai_service_cache_client-0.3.0.dist-info/RECORD,,