maleo-metadata-client 0.0.5__tar.gz → 0.0.6__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.
Potentially problematic release.
This version of maleo-metadata-client might be problematic. Click here for more details.
- {maleo_metadata_client-0.0.5 → maleo_metadata_client-0.0.6}/PKG-INFO +22 -22
- {maleo_metadata_client-0.0.5 → maleo_metadata_client-0.0.6}/maleo_metadata_client.egg-info/PKG-INFO +22 -22
- {maleo_metadata_client-0.0.5 → maleo_metadata_client-0.0.6}/maleo_metadata_client.egg-info/requires.txt +21 -21
- {maleo_metadata_client-0.0.5 → maleo_metadata_client-0.0.6}/pyproject.toml +22 -22
- {maleo_metadata_client-0.0.5 → maleo_metadata_client-0.0.6}/src/services/blood_type.py +18 -49
- {maleo_metadata_client-0.0.5 → maleo_metadata_client-0.0.6}/LICENSE +0 -0
- {maleo_metadata_client-0.0.5 → maleo_metadata_client-0.0.6}/README.md +0 -0
- {maleo_metadata_client-0.0.5 → maleo_metadata_client-0.0.6}/maleo_metadata_client.egg-info/SOURCES.txt +0 -0
- {maleo_metadata_client-0.0.5 → maleo_metadata_client-0.0.6}/maleo_metadata_client.egg-info/dependency_links.txt +0 -0
- {maleo_metadata_client-0.0.5 → maleo_metadata_client-0.0.6}/maleo_metadata_client.egg-info/top_level.txt +0 -0
- {maleo_metadata_client-0.0.5 → maleo_metadata_client-0.0.6}/setup.cfg +0 -0
- {maleo_metadata_client-0.0.5 → maleo_metadata_client-0.0.6}/src/__init__.py +0 -0
- {maleo_metadata_client-0.0.5 → maleo_metadata_client-0.0.6}/src/manager.py +0 -0
- {maleo_metadata_client-0.0.5 → maleo_metadata_client-0.0.6}/src/services/__init__.py +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: maleo-metadata-client
|
|
3
|
-
Version: 0.0.
|
|
3
|
+
Version: 0.0.6
|
|
4
4
|
Summary: MaleoMetadata client package
|
|
5
5
|
Author-email: Agra Bima Yuda <agra@nexmedis.com>
|
|
6
6
|
License: MIT
|
|
@@ -25,12 +25,12 @@ Requires-Dist: distlib>=0.4.0
|
|
|
25
25
|
Requires-Dist: dnspython>=2.8.0
|
|
26
26
|
Requires-Dist: elastic-transport>=9.1.0
|
|
27
27
|
Requires-Dist: elasticsearch>=9.1.1
|
|
28
|
-
Requires-Dist: fastapi>=0.
|
|
29
|
-
Requires-Dist: filelock>=3.
|
|
30
|
-
Requires-Dist: google-api-core>=2.
|
|
28
|
+
Requires-Dist: fastapi>=0.119.0
|
|
29
|
+
Requires-Dist: filelock>=3.20.0
|
|
30
|
+
Requires-Dist: google-api-core>=2.26.0
|
|
31
31
|
Requires-Dist: google-auth>=2.41.1
|
|
32
32
|
Requires-Dist: google-cloud-appengine-logging>=1.6.2
|
|
33
|
-
Requires-Dist: google-cloud-audit-log>=0.3.
|
|
33
|
+
Requires-Dist: google-cloud-audit-log>=0.3.3
|
|
34
34
|
Requires-Dist: google-cloud-core>=2.4.3
|
|
35
35
|
Requires-Dist: google-cloud-logging>=3.12.1
|
|
36
36
|
Requires-Dist: google-cloud-pubsub>=2.31.1
|
|
@@ -50,18 +50,18 @@ Requires-Dist: identify>=2.6.15
|
|
|
50
50
|
Requires-Dist: idna>=3.10
|
|
51
51
|
Requires-Dist: importlib_metadata>=8.7.0
|
|
52
52
|
Requires-Dist: iniconfig>=2.1.0
|
|
53
|
-
Requires-Dist: maleo-crypto>=0.0.
|
|
54
|
-
Requires-Dist: maleo-database>=0.
|
|
55
|
-
Requires-Dist: maleo-enums>=0.0.
|
|
56
|
-
Requires-Dist: maleo-google>=0.0.
|
|
57
|
-
Requires-Dist: maleo-infra>=0.
|
|
58
|
-
Requires-Dist: maleo-logging>=0.0.
|
|
59
|
-
Requires-Dist: maleo-managers>=0.0.
|
|
60
|
-
Requires-Dist: maleo-metadata>=0.
|
|
61
|
-
Requires-Dist: maleo-middlewares>=0.0.
|
|
62
|
-
Requires-Dist: maleo-schemas>=0.1.
|
|
63
|
-
Requires-Dist: maleo-types>=0.0.
|
|
64
|
-
Requires-Dist: maleo-utils>=0.0.
|
|
53
|
+
Requires-Dist: maleo-crypto>=0.0.28
|
|
54
|
+
Requires-Dist: maleo-database>=0.1.40
|
|
55
|
+
Requires-Dist: maleo-enums>=0.0.28
|
|
56
|
+
Requires-Dist: maleo-google>=0.0.100
|
|
57
|
+
Requires-Dist: maleo-infra>=0.1.40
|
|
58
|
+
Requires-Dist: maleo-logging>=0.0.28
|
|
59
|
+
Requires-Dist: maleo-managers>=0.0.80
|
|
60
|
+
Requires-Dist: maleo-metadata>=0.3.30
|
|
61
|
+
Requires-Dist: maleo-middlewares>=0.0.100
|
|
62
|
+
Requires-Dist: maleo-schemas>=0.1.40
|
|
63
|
+
Requires-Dist: maleo-types>=0.0.8
|
|
64
|
+
Requires-Dist: maleo-utils>=0.0.28
|
|
65
65
|
Requires-Dist: motor>=3.7.1
|
|
66
66
|
Requires-Dist: mypy_extensions>=1.1.0
|
|
67
67
|
Requires-Dist: nodeenv>=1.9.1
|
|
@@ -70,7 +70,7 @@ Requires-Dist: opentelemetry-sdk>=1.37.0
|
|
|
70
70
|
Requires-Dist: opentelemetry-semantic-conventions>=0.58b0
|
|
71
71
|
Requires-Dist: packaging>=25.0
|
|
72
72
|
Requires-Dist: pathspec>=0.12.1
|
|
73
|
-
Requires-Dist: platformdirs>=4.
|
|
73
|
+
Requires-Dist: platformdirs>=4.5.0
|
|
74
74
|
Requires-Dist: pluggy>=1.6.0
|
|
75
75
|
Requires-Dist: pre_commit>=4.3.0
|
|
76
76
|
Requires-Dist: proto-plus>=1.26.1
|
|
@@ -80,9 +80,9 @@ Requires-Dist: pyasn1>=0.6.1
|
|
|
80
80
|
Requires-Dist: pyasn1_modules>=0.4.2
|
|
81
81
|
Requires-Dist: pycparser>=2.23
|
|
82
82
|
Requires-Dist: pycryptodome>=3.23.0
|
|
83
|
-
Requires-Dist: pydantic>=2.
|
|
83
|
+
Requires-Dist: pydantic>=2.12.0
|
|
84
84
|
Requires-Dist: pydantic-settings>=2.11.0
|
|
85
|
-
Requires-Dist: pydantic_core>=2.
|
|
85
|
+
Requires-Dist: pydantic_core>=2.41.1
|
|
86
86
|
Requires-Dist: Pygments>=2.19.2
|
|
87
87
|
Requires-Dist: PyJWT>=2.10.1
|
|
88
88
|
Requires-Dist: pymongo>=4.15.2
|
|
@@ -96,7 +96,7 @@ Requires-Dist: requests>=2.32.5
|
|
|
96
96
|
Requires-Dist: rsa>=4.9.1
|
|
97
97
|
Requires-Dist: six>=1.17.0
|
|
98
98
|
Requires-Dist: sniffio>=1.3.1
|
|
99
|
-
Requires-Dist: SQLAlchemy>=2.0.
|
|
99
|
+
Requires-Dist: SQLAlchemy>=2.0.44
|
|
100
100
|
Requires-Dist: starlette>=0.48.0
|
|
101
101
|
Requires-Dist: typing-inspection>=0.4.2
|
|
102
102
|
Requires-Dist: typing_extensions>=4.15.0
|
|
@@ -104,7 +104,7 @@ Requires-Dist: ua-parser>=1.0.1
|
|
|
104
104
|
Requires-Dist: ua-parser-builtins>=0.18.0.post1
|
|
105
105
|
Requires-Dist: urllib3>=2.5.0
|
|
106
106
|
Requires-Dist: user-agents>=2.2.0
|
|
107
|
-
Requires-Dist: virtualenv>=20.
|
|
107
|
+
Requires-Dist: virtualenv>=20.35.3
|
|
108
108
|
Requires-Dist: zipp>=3.23.0
|
|
109
109
|
Dynamic: license-file
|
|
110
110
|
|
{maleo_metadata_client-0.0.5 → maleo_metadata_client-0.0.6}/maleo_metadata_client.egg-info/PKG-INFO
RENAMED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: maleo-metadata-client
|
|
3
|
-
Version: 0.0.
|
|
3
|
+
Version: 0.0.6
|
|
4
4
|
Summary: MaleoMetadata client package
|
|
5
5
|
Author-email: Agra Bima Yuda <agra@nexmedis.com>
|
|
6
6
|
License: MIT
|
|
@@ -25,12 +25,12 @@ Requires-Dist: distlib>=0.4.0
|
|
|
25
25
|
Requires-Dist: dnspython>=2.8.0
|
|
26
26
|
Requires-Dist: elastic-transport>=9.1.0
|
|
27
27
|
Requires-Dist: elasticsearch>=9.1.1
|
|
28
|
-
Requires-Dist: fastapi>=0.
|
|
29
|
-
Requires-Dist: filelock>=3.
|
|
30
|
-
Requires-Dist: google-api-core>=2.
|
|
28
|
+
Requires-Dist: fastapi>=0.119.0
|
|
29
|
+
Requires-Dist: filelock>=3.20.0
|
|
30
|
+
Requires-Dist: google-api-core>=2.26.0
|
|
31
31
|
Requires-Dist: google-auth>=2.41.1
|
|
32
32
|
Requires-Dist: google-cloud-appengine-logging>=1.6.2
|
|
33
|
-
Requires-Dist: google-cloud-audit-log>=0.3.
|
|
33
|
+
Requires-Dist: google-cloud-audit-log>=0.3.3
|
|
34
34
|
Requires-Dist: google-cloud-core>=2.4.3
|
|
35
35
|
Requires-Dist: google-cloud-logging>=3.12.1
|
|
36
36
|
Requires-Dist: google-cloud-pubsub>=2.31.1
|
|
@@ -50,18 +50,18 @@ Requires-Dist: identify>=2.6.15
|
|
|
50
50
|
Requires-Dist: idna>=3.10
|
|
51
51
|
Requires-Dist: importlib_metadata>=8.7.0
|
|
52
52
|
Requires-Dist: iniconfig>=2.1.0
|
|
53
|
-
Requires-Dist: maleo-crypto>=0.0.
|
|
54
|
-
Requires-Dist: maleo-database>=0.
|
|
55
|
-
Requires-Dist: maleo-enums>=0.0.
|
|
56
|
-
Requires-Dist: maleo-google>=0.0.
|
|
57
|
-
Requires-Dist: maleo-infra>=0.
|
|
58
|
-
Requires-Dist: maleo-logging>=0.0.
|
|
59
|
-
Requires-Dist: maleo-managers>=0.0.
|
|
60
|
-
Requires-Dist: maleo-metadata>=0.
|
|
61
|
-
Requires-Dist: maleo-middlewares>=0.0.
|
|
62
|
-
Requires-Dist: maleo-schemas>=0.1.
|
|
63
|
-
Requires-Dist: maleo-types>=0.0.
|
|
64
|
-
Requires-Dist: maleo-utils>=0.0.
|
|
53
|
+
Requires-Dist: maleo-crypto>=0.0.28
|
|
54
|
+
Requires-Dist: maleo-database>=0.1.40
|
|
55
|
+
Requires-Dist: maleo-enums>=0.0.28
|
|
56
|
+
Requires-Dist: maleo-google>=0.0.100
|
|
57
|
+
Requires-Dist: maleo-infra>=0.1.40
|
|
58
|
+
Requires-Dist: maleo-logging>=0.0.28
|
|
59
|
+
Requires-Dist: maleo-managers>=0.0.80
|
|
60
|
+
Requires-Dist: maleo-metadata>=0.3.30
|
|
61
|
+
Requires-Dist: maleo-middlewares>=0.0.100
|
|
62
|
+
Requires-Dist: maleo-schemas>=0.1.40
|
|
63
|
+
Requires-Dist: maleo-types>=0.0.8
|
|
64
|
+
Requires-Dist: maleo-utils>=0.0.28
|
|
65
65
|
Requires-Dist: motor>=3.7.1
|
|
66
66
|
Requires-Dist: mypy_extensions>=1.1.0
|
|
67
67
|
Requires-Dist: nodeenv>=1.9.1
|
|
@@ -70,7 +70,7 @@ Requires-Dist: opentelemetry-sdk>=1.37.0
|
|
|
70
70
|
Requires-Dist: opentelemetry-semantic-conventions>=0.58b0
|
|
71
71
|
Requires-Dist: packaging>=25.0
|
|
72
72
|
Requires-Dist: pathspec>=0.12.1
|
|
73
|
-
Requires-Dist: platformdirs>=4.
|
|
73
|
+
Requires-Dist: platformdirs>=4.5.0
|
|
74
74
|
Requires-Dist: pluggy>=1.6.0
|
|
75
75
|
Requires-Dist: pre_commit>=4.3.0
|
|
76
76
|
Requires-Dist: proto-plus>=1.26.1
|
|
@@ -80,9 +80,9 @@ Requires-Dist: pyasn1>=0.6.1
|
|
|
80
80
|
Requires-Dist: pyasn1_modules>=0.4.2
|
|
81
81
|
Requires-Dist: pycparser>=2.23
|
|
82
82
|
Requires-Dist: pycryptodome>=3.23.0
|
|
83
|
-
Requires-Dist: pydantic>=2.
|
|
83
|
+
Requires-Dist: pydantic>=2.12.0
|
|
84
84
|
Requires-Dist: pydantic-settings>=2.11.0
|
|
85
|
-
Requires-Dist: pydantic_core>=2.
|
|
85
|
+
Requires-Dist: pydantic_core>=2.41.1
|
|
86
86
|
Requires-Dist: Pygments>=2.19.2
|
|
87
87
|
Requires-Dist: PyJWT>=2.10.1
|
|
88
88
|
Requires-Dist: pymongo>=4.15.2
|
|
@@ -96,7 +96,7 @@ Requires-Dist: requests>=2.32.5
|
|
|
96
96
|
Requires-Dist: rsa>=4.9.1
|
|
97
97
|
Requires-Dist: six>=1.17.0
|
|
98
98
|
Requires-Dist: sniffio>=1.3.1
|
|
99
|
-
Requires-Dist: SQLAlchemy>=2.0.
|
|
99
|
+
Requires-Dist: SQLAlchemy>=2.0.44
|
|
100
100
|
Requires-Dist: starlette>=0.48.0
|
|
101
101
|
Requires-Dist: typing-inspection>=0.4.2
|
|
102
102
|
Requires-Dist: typing_extensions>=4.15.0
|
|
@@ -104,7 +104,7 @@ Requires-Dist: ua-parser>=1.0.1
|
|
|
104
104
|
Requires-Dist: ua-parser-builtins>=0.18.0.post1
|
|
105
105
|
Requires-Dist: urllib3>=2.5.0
|
|
106
106
|
Requires-Dist: user-agents>=2.2.0
|
|
107
|
-
Requires-Dist: virtualenv>=20.
|
|
107
|
+
Requires-Dist: virtualenv>=20.35.3
|
|
108
108
|
Requires-Dist: zipp>=3.23.0
|
|
109
109
|
Dynamic: license-file
|
|
110
110
|
|
|
@@ -16,12 +16,12 @@ distlib>=0.4.0
|
|
|
16
16
|
dnspython>=2.8.0
|
|
17
17
|
elastic-transport>=9.1.0
|
|
18
18
|
elasticsearch>=9.1.1
|
|
19
|
-
fastapi>=0.
|
|
20
|
-
filelock>=3.
|
|
21
|
-
google-api-core>=2.
|
|
19
|
+
fastapi>=0.119.0
|
|
20
|
+
filelock>=3.20.0
|
|
21
|
+
google-api-core>=2.26.0
|
|
22
22
|
google-auth>=2.41.1
|
|
23
23
|
google-cloud-appengine-logging>=1.6.2
|
|
24
|
-
google-cloud-audit-log>=0.3.
|
|
24
|
+
google-cloud-audit-log>=0.3.3
|
|
25
25
|
google-cloud-core>=2.4.3
|
|
26
26
|
google-cloud-logging>=3.12.1
|
|
27
27
|
google-cloud-pubsub>=2.31.1
|
|
@@ -41,18 +41,18 @@ identify>=2.6.15
|
|
|
41
41
|
idna>=3.10
|
|
42
42
|
importlib_metadata>=8.7.0
|
|
43
43
|
iniconfig>=2.1.0
|
|
44
|
-
maleo-crypto>=0.0.
|
|
45
|
-
maleo-database>=0.
|
|
46
|
-
maleo-enums>=0.0.
|
|
47
|
-
maleo-google>=0.0.
|
|
48
|
-
maleo-infra>=0.
|
|
49
|
-
maleo-logging>=0.0.
|
|
50
|
-
maleo-managers>=0.0.
|
|
51
|
-
maleo-metadata>=0.
|
|
52
|
-
maleo-middlewares>=0.0.
|
|
53
|
-
maleo-schemas>=0.1.
|
|
54
|
-
maleo-types>=0.0.
|
|
55
|
-
maleo-utils>=0.0.
|
|
44
|
+
maleo-crypto>=0.0.28
|
|
45
|
+
maleo-database>=0.1.40
|
|
46
|
+
maleo-enums>=0.0.28
|
|
47
|
+
maleo-google>=0.0.100
|
|
48
|
+
maleo-infra>=0.1.40
|
|
49
|
+
maleo-logging>=0.0.28
|
|
50
|
+
maleo-managers>=0.0.80
|
|
51
|
+
maleo-metadata>=0.3.30
|
|
52
|
+
maleo-middlewares>=0.0.100
|
|
53
|
+
maleo-schemas>=0.1.40
|
|
54
|
+
maleo-types>=0.0.8
|
|
55
|
+
maleo-utils>=0.0.28
|
|
56
56
|
motor>=3.7.1
|
|
57
57
|
mypy_extensions>=1.1.0
|
|
58
58
|
nodeenv>=1.9.1
|
|
@@ -61,7 +61,7 @@ opentelemetry-sdk>=1.37.0
|
|
|
61
61
|
opentelemetry-semantic-conventions>=0.58b0
|
|
62
62
|
packaging>=25.0
|
|
63
63
|
pathspec>=0.12.1
|
|
64
|
-
platformdirs>=4.
|
|
64
|
+
platformdirs>=4.5.0
|
|
65
65
|
pluggy>=1.6.0
|
|
66
66
|
pre_commit>=4.3.0
|
|
67
67
|
proto-plus>=1.26.1
|
|
@@ -71,9 +71,9 @@ pyasn1>=0.6.1
|
|
|
71
71
|
pyasn1_modules>=0.4.2
|
|
72
72
|
pycparser>=2.23
|
|
73
73
|
pycryptodome>=3.23.0
|
|
74
|
-
pydantic>=2.
|
|
74
|
+
pydantic>=2.12.0
|
|
75
75
|
pydantic-settings>=2.11.0
|
|
76
|
-
pydantic_core>=2.
|
|
76
|
+
pydantic_core>=2.41.1
|
|
77
77
|
Pygments>=2.19.2
|
|
78
78
|
PyJWT>=2.10.1
|
|
79
79
|
pymongo>=4.15.2
|
|
@@ -87,7 +87,7 @@ requests>=2.32.5
|
|
|
87
87
|
rsa>=4.9.1
|
|
88
88
|
six>=1.17.0
|
|
89
89
|
sniffio>=1.3.1
|
|
90
|
-
SQLAlchemy>=2.0.
|
|
90
|
+
SQLAlchemy>=2.0.44
|
|
91
91
|
starlette>=0.48.0
|
|
92
92
|
typing-inspection>=0.4.2
|
|
93
93
|
typing_extensions>=4.15.0
|
|
@@ -95,5 +95,5 @@ ua-parser>=1.0.1
|
|
|
95
95
|
ua-parser-builtins>=0.18.0.post1
|
|
96
96
|
urllib3>=2.5.0
|
|
97
97
|
user-agents>=2.2.0
|
|
98
|
-
virtualenv>=20.
|
|
98
|
+
virtualenv>=20.35.3
|
|
99
99
|
zipp>=3.23.0
|
|
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
|
|
|
4
4
|
|
|
5
5
|
[project]
|
|
6
6
|
name = "maleo-metadata-client" # PyPI package name
|
|
7
|
-
version = "0.0.
|
|
7
|
+
version = "0.0.6"
|
|
8
8
|
description = "MaleoMetadata client package"
|
|
9
9
|
authors = [
|
|
10
10
|
{ name = "Agra Bima Yuda", email = "agra@nexmedis.com" }
|
|
@@ -31,12 +31,12 @@ dependencies = [
|
|
|
31
31
|
"dnspython>=2.8.0",
|
|
32
32
|
"elastic-transport>=9.1.0",
|
|
33
33
|
"elasticsearch>=9.1.1",
|
|
34
|
-
"fastapi>=0.
|
|
35
|
-
"filelock>=3.
|
|
36
|
-
"google-api-core>=2.
|
|
34
|
+
"fastapi>=0.119.0",
|
|
35
|
+
"filelock>=3.20.0",
|
|
36
|
+
"google-api-core>=2.26.0",
|
|
37
37
|
"google-auth>=2.41.1",
|
|
38
38
|
"google-cloud-appengine-logging>=1.6.2",
|
|
39
|
-
"google-cloud-audit-log>=0.3.
|
|
39
|
+
"google-cloud-audit-log>=0.3.3",
|
|
40
40
|
"google-cloud-core>=2.4.3",
|
|
41
41
|
"google-cloud-logging>=3.12.1",
|
|
42
42
|
"google-cloud-pubsub>=2.31.1",
|
|
@@ -56,18 +56,18 @@ dependencies = [
|
|
|
56
56
|
"idna>=3.10",
|
|
57
57
|
"importlib_metadata>=8.7.0",
|
|
58
58
|
"iniconfig>=2.1.0",
|
|
59
|
-
"maleo-crypto>=0.0.
|
|
60
|
-
"maleo-database>=0.
|
|
61
|
-
"maleo-enums>=0.0.
|
|
62
|
-
"maleo-google>=0.0.
|
|
63
|
-
"maleo-infra>=0.
|
|
64
|
-
"maleo-logging>=0.0.
|
|
65
|
-
"maleo-managers>=0.0.
|
|
66
|
-
"maleo-metadata>=0.
|
|
67
|
-
"maleo-middlewares>=0.0.
|
|
68
|
-
"maleo-schemas>=0.1.
|
|
69
|
-
"maleo-types>=0.0.
|
|
70
|
-
"maleo-utils>=0.0.
|
|
59
|
+
"maleo-crypto>=0.0.28",
|
|
60
|
+
"maleo-database>=0.1.40",
|
|
61
|
+
"maleo-enums>=0.0.28",
|
|
62
|
+
"maleo-google>=0.0.100",
|
|
63
|
+
"maleo-infra>=0.1.40",
|
|
64
|
+
"maleo-logging>=0.0.28",
|
|
65
|
+
"maleo-managers>=0.0.80",
|
|
66
|
+
"maleo-metadata>=0.3.30",
|
|
67
|
+
"maleo-middlewares>=0.0.100",
|
|
68
|
+
"maleo-schemas>=0.1.40",
|
|
69
|
+
"maleo-types>=0.0.8",
|
|
70
|
+
"maleo-utils>=0.0.28",
|
|
71
71
|
"motor>=3.7.1",
|
|
72
72
|
"mypy_extensions>=1.1.0",
|
|
73
73
|
"nodeenv>=1.9.1",
|
|
@@ -76,7 +76,7 @@ dependencies = [
|
|
|
76
76
|
"opentelemetry-semantic-conventions>=0.58b0",
|
|
77
77
|
"packaging>=25.0",
|
|
78
78
|
"pathspec>=0.12.1",
|
|
79
|
-
"platformdirs>=4.
|
|
79
|
+
"platformdirs>=4.5.0",
|
|
80
80
|
"pluggy>=1.6.0",
|
|
81
81
|
"pre_commit>=4.3.0",
|
|
82
82
|
"proto-plus>=1.26.1",
|
|
@@ -86,9 +86,9 @@ dependencies = [
|
|
|
86
86
|
"pyasn1_modules>=0.4.2",
|
|
87
87
|
"pycparser>=2.23",
|
|
88
88
|
"pycryptodome>=3.23.0",
|
|
89
|
-
"pydantic>=2.
|
|
89
|
+
"pydantic>=2.12.0",
|
|
90
90
|
"pydantic-settings>=2.11.0",
|
|
91
|
-
"pydantic_core>=2.
|
|
91
|
+
"pydantic_core>=2.41.1",
|
|
92
92
|
"Pygments>=2.19.2",
|
|
93
93
|
"PyJWT>=2.10.1",
|
|
94
94
|
"pymongo>=4.15.2",
|
|
@@ -102,7 +102,7 @@ dependencies = [
|
|
|
102
102
|
"rsa>=4.9.1",
|
|
103
103
|
"six>=1.17.0",
|
|
104
104
|
"sniffio>=1.3.1",
|
|
105
|
-
"SQLAlchemy>=2.0.
|
|
105
|
+
"SQLAlchemy>=2.0.44",
|
|
106
106
|
"starlette>=0.48.0",
|
|
107
107
|
"typing-inspection>=0.4.2",
|
|
108
108
|
"typing_extensions>=4.15.0",
|
|
@@ -110,7 +110,7 @@ dependencies = [
|
|
|
110
110
|
"ua-parser-builtins>=0.18.0.post1",
|
|
111
111
|
"urllib3>=2.5.0",
|
|
112
112
|
"user-agents>=2.2.0",
|
|
113
|
-
"virtualenv>=20.
|
|
113
|
+
"virtualenv>=20.35.3",
|
|
114
114
|
"zipp>=3.23.0",
|
|
115
115
|
]
|
|
116
116
|
|
|
@@ -10,16 +10,15 @@ from maleo.enums.connection import Header
|
|
|
10
10
|
from maleo.logging.enums import Level
|
|
11
11
|
from maleo.managers.client.maleo.config import MaleoMetadataClientConfig
|
|
12
12
|
from maleo.managers.client.maleo import MaleoClientService
|
|
13
|
-
from maleo.metadata.constants.blood_type import
|
|
14
|
-
from maleo.metadata.
|
|
13
|
+
from maleo.metadata.constants.blood_type import BLOOD_TYPE_RESOURCE
|
|
14
|
+
from maleo.metadata.schemas.blood_type import (
|
|
15
15
|
ReadMultipleParameter,
|
|
16
16
|
ReadSingleParameter,
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
FullBloodTypeData,
|
|
17
|
+
StandardBloodTypeSchema,
|
|
18
|
+
FullBloodTypeSchema,
|
|
20
19
|
)
|
|
21
20
|
from maleo.metadata.enums.blood_type import Granularity
|
|
22
|
-
from maleo.metadata.utils.blood_type import
|
|
21
|
+
from maleo.metadata.utils.blood_type import get_schema_model
|
|
23
22
|
from maleo.schemas.connection import ConnectionContext
|
|
24
23
|
from maleo.schemas.exception.factory import Factory as MaleoExceptionFactory
|
|
25
24
|
from maleo.schemas.mixins.filter import convert as convert_filter
|
|
@@ -49,22 +48,8 @@ from maleo.utils.merger import merge_dicts
|
|
|
49
48
|
|
|
50
49
|
|
|
51
50
|
class BloodTypeClientService(MaleoClientService[MaleoMetadataClientConfig]):
|
|
52
|
-
resource =
|
|
51
|
+
resource = BLOOD_TYPE_RESOURCE
|
|
53
52
|
|
|
54
|
-
@overload
|
|
55
|
-
async def read(
|
|
56
|
-
self,
|
|
57
|
-
cardinality: Literal[Cardinality.MULTIPLE],
|
|
58
|
-
granularity: Literal[Granularity.BASIC],
|
|
59
|
-
*,
|
|
60
|
-
operation_id: UUID,
|
|
61
|
-
resource_operation_action: ReadResourceOperationAction,
|
|
62
|
-
connection_context: ConnectionContext,
|
|
63
|
-
authorization: OptionalAnyAuthorization = None,
|
|
64
|
-
impersonation: OptionalImpersonation = None,
|
|
65
|
-
parameters: ReadMultipleParameter,
|
|
66
|
-
headers: OptionalStringToStringDict = None,
|
|
67
|
-
) -> ReadMultipleDataResponse[BasicBloodTypeData, StrictPagination, None]: ...
|
|
68
53
|
@overload
|
|
69
54
|
async def read(
|
|
70
55
|
self,
|
|
@@ -78,7 +63,7 @@ class BloodTypeClientService(MaleoClientService[MaleoMetadataClientConfig]):
|
|
|
78
63
|
impersonation: OptionalImpersonation = None,
|
|
79
64
|
parameters: ReadMultipleParameter,
|
|
80
65
|
headers: OptionalStringToStringDict = None,
|
|
81
|
-
) -> ReadMultipleDataResponse[
|
|
66
|
+
) -> ReadMultipleDataResponse[StandardBloodTypeSchema, StrictPagination, None]: ...
|
|
82
67
|
@overload
|
|
83
68
|
async def read(
|
|
84
69
|
self,
|
|
@@ -92,21 +77,7 @@ class BloodTypeClientService(MaleoClientService[MaleoMetadataClientConfig]):
|
|
|
92
77
|
impersonation: OptionalImpersonation = None,
|
|
93
78
|
parameters: ReadMultipleParameter,
|
|
94
79
|
headers: OptionalStringToStringDict = None,
|
|
95
|
-
) -> ReadMultipleDataResponse[
|
|
96
|
-
@overload
|
|
97
|
-
async def read(
|
|
98
|
-
self,
|
|
99
|
-
cardinality: Literal[Cardinality.SINGLE],
|
|
100
|
-
granularity: Literal[Granularity.BASIC],
|
|
101
|
-
*,
|
|
102
|
-
operation_id: UUID,
|
|
103
|
-
resource_operation_action: ReadResourceOperationAction,
|
|
104
|
-
connection_context: ConnectionContext,
|
|
105
|
-
authorization: OptionalAnyAuthorization = None,
|
|
106
|
-
impersonation: OptionalImpersonation = None,
|
|
107
|
-
parameters: ReadSingleParameter,
|
|
108
|
-
headers: OptionalStringToStringDict = None,
|
|
109
|
-
) -> ReadSingleDataResponse[BasicBloodTypeData, None]: ...
|
|
80
|
+
) -> ReadMultipleDataResponse[FullBloodTypeSchema, StrictPagination, None]: ...
|
|
110
81
|
@overload
|
|
111
82
|
async def read(
|
|
112
83
|
self,
|
|
@@ -120,7 +91,7 @@ class BloodTypeClientService(MaleoClientService[MaleoMetadataClientConfig]):
|
|
|
120
91
|
impersonation: OptionalImpersonation = None,
|
|
121
92
|
parameters: ReadSingleParameter,
|
|
122
93
|
headers: OptionalStringToStringDict = None,
|
|
123
|
-
) -> ReadSingleDataResponse[
|
|
94
|
+
) -> ReadSingleDataResponse[StandardBloodTypeSchema, None]: ...
|
|
124
95
|
@overload
|
|
125
96
|
async def read(
|
|
126
97
|
self,
|
|
@@ -134,7 +105,7 @@ class BloodTypeClientService(MaleoClientService[MaleoMetadataClientConfig]):
|
|
|
134
105
|
impersonation: OptionalImpersonation = None,
|
|
135
106
|
parameters: ReadSingleParameter,
|
|
136
107
|
headers: OptionalStringToStringDict = None,
|
|
137
|
-
) -> ReadSingleDataResponse[
|
|
108
|
+
) -> ReadSingleDataResponse[FullBloodTypeSchema, None]: ...
|
|
138
109
|
async def read(
|
|
139
110
|
self,
|
|
140
111
|
cardinality: Cardinality,
|
|
@@ -148,15 +119,13 @@ class BloodTypeClientService(MaleoClientService[MaleoMetadataClientConfig]):
|
|
|
148
119
|
parameters: Union[ReadMultipleParameter, ReadSingleParameter],
|
|
149
120
|
headers: OptionalStringToStringDict = None,
|
|
150
121
|
) -> Union[
|
|
151
|
-
ReadMultipleDataResponse[
|
|
152
|
-
ReadMultipleDataResponse[
|
|
153
|
-
|
|
154
|
-
ReadSingleDataResponse[
|
|
155
|
-
ReadSingleDataResponse[StandardBloodTypeData, None],
|
|
156
|
-
ReadSingleDataResponse[FullBloodTypeData, None],
|
|
122
|
+
ReadMultipleDataResponse[StandardBloodTypeSchema, StrictPagination, None],
|
|
123
|
+
ReadMultipleDataResponse[FullBloodTypeSchema, StrictPagination, None],
|
|
124
|
+
ReadSingleDataResponse[StandardBloodTypeSchema, None],
|
|
125
|
+
ReadSingleDataResponse[FullBloodTypeSchema, None],
|
|
157
126
|
]:
|
|
158
127
|
redis_client = self._redis.manager.client.get(Connection.ASYNC)
|
|
159
|
-
data_model_cls =
|
|
128
|
+
data_model_cls = get_schema_model(granularity)
|
|
160
129
|
|
|
161
130
|
executed_at = datetime.now(tz=timezone.utc)
|
|
162
131
|
|
|
@@ -219,7 +188,7 @@ class BloodTypeClientService(MaleoClientService[MaleoMetadataClientConfig]):
|
|
|
219
188
|
action=resource_operation_action,
|
|
220
189
|
resource=self.resource,
|
|
221
190
|
timestamp=operation_timestamp,
|
|
222
|
-
summary=f"Successfully retrieved {cardinality} {granularity} blood type
|
|
191
|
+
summary=f"Successfully retrieved {cardinality} {granularity} blood type from cache",
|
|
223
192
|
connection_context=connection_context,
|
|
224
193
|
authentication=None,
|
|
225
194
|
authorization=authorization,
|
|
@@ -319,7 +288,7 @@ class BloodTypeClientService(MaleoClientService[MaleoMetadataClientConfig]):
|
|
|
319
288
|
id=operation_id,
|
|
320
289
|
context=operation_context,
|
|
321
290
|
action=resource_operation_action,
|
|
322
|
-
resource=
|
|
291
|
+
resource=BLOOD_TYPE_RESOURCE,
|
|
323
292
|
timestamp=operation_timestamp,
|
|
324
293
|
summary=f"Successfully retrieved multiple {granularity} blood types from microservice",
|
|
325
294
|
connection_context=connection_context,
|
|
@@ -340,7 +309,7 @@ class BloodTypeClientService(MaleoClientService[MaleoMetadataClientConfig]):
|
|
|
340
309
|
id=operation_id,
|
|
341
310
|
context=operation_context,
|
|
342
311
|
action=resource_operation_action,
|
|
343
|
-
resource=
|
|
312
|
+
resource=BLOOD_TYPE_RESOURCE,
|
|
344
313
|
timestamp=operation_timestamp,
|
|
345
314
|
summary=f"Successfully retrieved single {granularity} blood type from microservice",
|
|
346
315
|
connection_context=connection_context,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|