maleo-identity 0.0.52__py3-none-any.whl → 0.0.55__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 maleo-identity might be problematic. Click here for more details.
- maleo_identity/client/services/organization.py +170 -170
- maleo_identity/client/services/user.py +136 -136
- maleo_identity/constants/organization_registration_code.py +14 -0
- maleo_identity/enums/organization.py +2 -1
- maleo_identity/enums/organization_registration_code.py +8 -0
- maleo_identity/models/responses/organization_registration_code.py +46 -0
- maleo_identity/models/schemas/general.py +3 -0
- maleo_identity/models/schemas/organization_registration_code.py +21 -0
- maleo_identity/models/schemas/user.py +9 -5
- maleo_identity/models/tables/__init__.py +2 -0
- maleo_identity/models/tables/organization.py +7 -0
- maleo_identity/models/tables/organization_registration_code.py +29 -0
- maleo_identity/models/transfers/general/organization.py +2 -0
- maleo_identity/models/transfers/general/organization_registration_code.py +19 -0
- maleo_identity/models/transfers/parameters/client/organization_registration_code.py +24 -0
- maleo_identity/models/transfers/parameters/general/organization_registration_code.py +33 -0
- maleo_identity/models/transfers/parameters/general/user.py +28 -1
- maleo_identity/models/transfers/parameters/service/organization_registration_code.py +19 -0
- maleo_identity/models/transfers/results/client/organization_registration_code.py +15 -0
- maleo_identity/models/transfers/results/service/__init__.py +0 -0
- maleo_identity/models/transfers/results/service/organization_registration_code.py +15 -0
- maleo_identity/types/results/client/organization_registration_code.py +20 -0
- maleo_identity/types/results/service/__init__.py +0 -0
- maleo_identity/types/results/service/organization_registration_code.py +21 -0
- {maleo_identity-0.0.52.dist-info → maleo_identity-0.0.55.dist-info}/METADATA +3 -3
- {maleo_identity-0.0.52.dist-info → maleo_identity-0.0.55.dist-info}/RECORD +28 -13
- {maleo_identity-0.0.52.dist-info → maleo_identity-0.0.55.dist-info}/WHEEL +0 -0
- {maleo_identity-0.0.52.dist-info → maleo_identity-0.0.55.dist-info}/top_level.txt +0 -0
|
@@ -66,37 +66,37 @@ class MaleoIdentityOrganizationClientService(MaleoClientService):
|
|
|
66
66
|
logger=self._logger,
|
|
67
67
|
fail_result_class=MaleoIdentityOrganizationClientResultsTransfers.Fail
|
|
68
68
|
)
|
|
69
|
-
@BaseClientUtils.result_processor(
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
)
|
|
74
|
-
@cached(
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
)
|
|
69
|
+
# @BaseClientUtils.result_processor(
|
|
70
|
+
# fail_class=MaleoIdentityOrganizationClientResultsTransfers.Fail,
|
|
71
|
+
# data_found_class=MaleoIdentityOrganizationClientResultsTransfers.MultipleData,
|
|
72
|
+
# no_data_class=MaleoIdentityOrganizationClientResultsTransfers.NoData
|
|
73
|
+
# )
|
|
74
|
+
# @cached(
|
|
75
|
+
# ttl=int(BaseEnums.CacheTTL.TTL_30MN),
|
|
76
|
+
# namespace=self.service_manager.configs.cache.redis.namespaces.create(
|
|
77
|
+
# "organization",
|
|
78
|
+
# type=BaseEnums.CacheType.CLIENT,
|
|
79
|
+
# base_override=self.key
|
|
80
|
+
# ),
|
|
81
|
+
# key_builder=BaseCacheConfigurations.key_builder,
|
|
82
|
+
# skip_cache_func=lambda x: (
|
|
83
|
+
# self.service_manager.settings.ENVIRONMENT == BaseEnums.EnvironmentType.LOCAL
|
|
84
|
+
# or x is None
|
|
85
|
+
# or (
|
|
86
|
+
# isinstance(x, dict)
|
|
87
|
+
# and (
|
|
88
|
+
# x.get("success") in [False, None]
|
|
89
|
+
# or (x.get("success") is True and x.get("data") is None)
|
|
90
|
+
# )
|
|
91
|
+
# )
|
|
92
|
+
# ),
|
|
93
|
+
# cache=Cache.REDIS,
|
|
94
|
+
# serializer=JsonSerializer(),
|
|
95
|
+
# endpoint=self.service_manager.configs.cache.redis.host,
|
|
96
|
+
# port=self.service_manager.configs.cache.redis.port,
|
|
97
|
+
# password=self.service_manager.configs.cache.redis.password,
|
|
98
|
+
# db=self.service_manager.configs.cache.redis.db
|
|
99
|
+
# )
|
|
100
100
|
async def _impl(
|
|
101
101
|
parameters:MaleoIdentityOrganizationClientParametersTransfers.GetMultiple,
|
|
102
102
|
controller_type:MaleoIdentityGeneralEnums.ClientControllerType = MaleoIdentityGeneralEnums.ClientControllerType.HTTP
|
|
@@ -131,7 +131,7 @@ class MaleoIdentityOrganizationClientService(MaleoClientService):
|
|
|
131
131
|
MaleoIdentityOrganizationClientResultsTransfers
|
|
132
132
|
.Fail
|
|
133
133
|
.model_validate(controller_result.content)
|
|
134
|
-
.model_dump(mode="json")
|
|
134
|
+
# .model_dump(mode="json")
|
|
135
135
|
)
|
|
136
136
|
else:
|
|
137
137
|
if controller_result.content["data"] is None:
|
|
@@ -139,14 +139,14 @@ class MaleoIdentityOrganizationClientService(MaleoClientService):
|
|
|
139
139
|
MaleoIdentityOrganizationClientResultsTransfers
|
|
140
140
|
.NoData
|
|
141
141
|
.model_validate(controller_result.content)
|
|
142
|
-
.model_dump(mode="json")
|
|
142
|
+
# .model_dump(mode="json")
|
|
143
143
|
)
|
|
144
144
|
else:
|
|
145
145
|
return (
|
|
146
146
|
MaleoIdentityOrganizationClientResultsTransfers
|
|
147
147
|
.MultipleData
|
|
148
148
|
.model_validate(controller_result.content)
|
|
149
|
-
.model_dump(mode="json")
|
|
149
|
+
# .model_dump(mode="json")
|
|
150
150
|
)
|
|
151
151
|
return await _impl(
|
|
152
152
|
parameters=parameters,
|
|
@@ -164,37 +164,37 @@ class MaleoIdentityOrganizationClientService(MaleoClientService):
|
|
|
164
164
|
logger=self._logger,
|
|
165
165
|
fail_result_class=MaleoIdentityOrganizationClientResultsTransfers.Fail
|
|
166
166
|
)
|
|
167
|
-
@BaseClientUtils.result_processor(
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
)
|
|
172
|
-
@cached(
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
)
|
|
167
|
+
# @BaseClientUtils.result_processor(
|
|
168
|
+
# fail_class=MaleoIdentityOrganizationClientResultsTransfers.Fail,
|
|
169
|
+
# data_found_class=MaleoIdentityOrganizationClientResultsTransfers.MultipleStructured,
|
|
170
|
+
# no_data_class=MaleoIdentityOrganizationClientResultsTransfers.NoData
|
|
171
|
+
# )
|
|
172
|
+
# @cached(
|
|
173
|
+
# ttl=int(BaseEnums.CacheTTL.TTL_1WK),
|
|
174
|
+
# namespace=self.service_manager.configs.cache.redis.namespaces.create(
|
|
175
|
+
# "organization",
|
|
176
|
+
# type=BaseEnums.CacheType.CLIENT,
|
|
177
|
+
# base_override=self.key
|
|
178
|
+
# ),
|
|
179
|
+
# key_builder=BaseCacheConfigurations.key_builder,
|
|
180
|
+
# skip_cache_func=lambda x: (
|
|
181
|
+
# self.service_manager.settings.ENVIRONMENT == BaseEnums.EnvironmentType.LOCAL
|
|
182
|
+
# or x is None
|
|
183
|
+
# or (
|
|
184
|
+
# isinstance(x, dict)
|
|
185
|
+
# and (
|
|
186
|
+
# x.get("success") in [False, None]
|
|
187
|
+
# or (x.get("success") is True and x.get("data") is None)
|
|
188
|
+
# )
|
|
189
|
+
# )
|
|
190
|
+
# ),
|
|
191
|
+
# cache=Cache.REDIS,
|
|
192
|
+
# serializer=JsonSerializer(),
|
|
193
|
+
# endpoint=self.service_manager.configs.cache.redis.host,
|
|
194
|
+
# port=self.service_manager.configs.cache.redis.port,
|
|
195
|
+
# password=self.service_manager.configs.cache.redis.password,
|
|
196
|
+
# db=self.service_manager.configs.cache.redis.db
|
|
197
|
+
# )
|
|
198
198
|
async def _impl(
|
|
199
199
|
parameters:MaleoIdentityOrganizationClientParametersTransfers.GetMultipleStructured,
|
|
200
200
|
controller_type:MaleoIdentityGeneralEnums.ClientControllerType = MaleoIdentityGeneralEnums.ClientControllerType.HTTP
|
|
@@ -229,7 +229,7 @@ class MaleoIdentityOrganizationClientService(MaleoClientService):
|
|
|
229
229
|
MaleoIdentityOrganizationClientResultsTransfers
|
|
230
230
|
.Fail
|
|
231
231
|
.model_validate(controller_result.content)
|
|
232
|
-
.model_dump(mode="json")
|
|
232
|
+
# .model_dump(mode="json")
|
|
233
233
|
)
|
|
234
234
|
else:
|
|
235
235
|
if controller_result.content["data"] is None:
|
|
@@ -237,14 +237,14 @@ class MaleoIdentityOrganizationClientService(MaleoClientService):
|
|
|
237
237
|
MaleoIdentityOrganizationClientResultsTransfers
|
|
238
238
|
.NoData
|
|
239
239
|
.model_validate(controller_result.content)
|
|
240
|
-
.model_dump(mode="json")
|
|
240
|
+
# .model_dump(mode="json")
|
|
241
241
|
)
|
|
242
242
|
else:
|
|
243
243
|
return (
|
|
244
244
|
MaleoIdentityOrganizationClientResultsTransfers
|
|
245
245
|
.MultipleStructured
|
|
246
246
|
.model_validate(controller_result.content)
|
|
247
|
-
.model_dump(mode="json")
|
|
247
|
+
# .model_dump(mode="json")
|
|
248
248
|
)
|
|
249
249
|
return await _impl(
|
|
250
250
|
parameters=parameters,
|
|
@@ -651,37 +651,37 @@ class MaleoIdentityOrganizationClientService(MaleoClientService):
|
|
|
651
651
|
logger=self._logger,
|
|
652
652
|
fail_result_class=MaleoIdentityUserOrganizationClientResultsTransfers.Fail
|
|
653
653
|
)
|
|
654
|
-
@BaseClientUtils.result_processor(
|
|
655
|
-
|
|
656
|
-
|
|
657
|
-
|
|
658
|
-
)
|
|
659
|
-
@cached(
|
|
660
|
-
|
|
661
|
-
|
|
662
|
-
|
|
663
|
-
|
|
664
|
-
|
|
665
|
-
|
|
666
|
-
|
|
667
|
-
|
|
668
|
-
|
|
669
|
-
|
|
670
|
-
|
|
671
|
-
|
|
672
|
-
|
|
673
|
-
|
|
674
|
-
|
|
675
|
-
|
|
676
|
-
|
|
677
|
-
|
|
678
|
-
|
|
679
|
-
|
|
680
|
-
|
|
681
|
-
|
|
682
|
-
|
|
683
|
-
|
|
684
|
-
)
|
|
654
|
+
# @BaseClientUtils.result_processor(
|
|
655
|
+
# fail_class=MaleoIdentityUserOrganizationClientResultsTransfers.Fail,
|
|
656
|
+
# data_found_class=MaleoIdentityUserOrganizationClientResultsTransfers.MultipleData,
|
|
657
|
+
# no_data_class=MaleoIdentityUserOrganizationClientResultsTransfers.NoData
|
|
658
|
+
# )
|
|
659
|
+
# @cached(
|
|
660
|
+
# ttl=int(BaseEnums.CacheTTL.TTL_30MN),
|
|
661
|
+
# namespace=self.service_manager.configs.cache.redis.namespaces.create(
|
|
662
|
+
# "organization_user",
|
|
663
|
+
# type=BaseEnums.CacheType.CLIENT,
|
|
664
|
+
# base_override=self.key
|
|
665
|
+
# ),
|
|
666
|
+
# key_builder=BaseCacheConfigurations.key_builder,
|
|
667
|
+
# skip_cache_func=lambda x: (
|
|
668
|
+
# self.service_manager.settings.ENVIRONMENT == BaseEnums.EnvironmentType.LOCAL
|
|
669
|
+
# or x is None
|
|
670
|
+
# or (
|
|
671
|
+
# isinstance(x, dict)
|
|
672
|
+
# and (
|
|
673
|
+
# x.get("success") in [False, None]
|
|
674
|
+
# or (x.get("success") is True and x.get("data") is None)
|
|
675
|
+
# )
|
|
676
|
+
# )
|
|
677
|
+
# ),
|
|
678
|
+
# cache=Cache.REDIS,
|
|
679
|
+
# serializer=JsonSerializer(),
|
|
680
|
+
# endpoint=self.service_manager.configs.cache.redis.host,
|
|
681
|
+
# port=self.service_manager.configs.cache.redis.port,
|
|
682
|
+
# password=self.service_manager.configs.cache.redis.password,
|
|
683
|
+
# db=self.service_manager.configs.cache.redis.db
|
|
684
|
+
# )
|
|
685
685
|
async def _impl(
|
|
686
686
|
parameters:MaleoIdentityUserOrganizationClientParametersTransfers.GetMultipleFromOrganization,
|
|
687
687
|
controller_type:MaleoIdentityGeneralEnums.ClientControllerType = MaleoIdentityGeneralEnums.ClientControllerType.HTTP
|
|
@@ -716,7 +716,7 @@ class MaleoIdentityOrganizationClientService(MaleoClientService):
|
|
|
716
716
|
MaleoIdentityUserOrganizationClientResultsTransfers
|
|
717
717
|
.Fail
|
|
718
718
|
.model_validate(controller_result.content)
|
|
719
|
-
.model_dump(mode="json")
|
|
719
|
+
# .model_dump(mode="json")
|
|
720
720
|
)
|
|
721
721
|
else:
|
|
722
722
|
if controller_result.content["data"] is None:
|
|
@@ -724,14 +724,14 @@ class MaleoIdentityOrganizationClientService(MaleoClientService):
|
|
|
724
724
|
MaleoIdentityUserOrganizationClientResultsTransfers
|
|
725
725
|
.NoData
|
|
726
726
|
.model_validate(controller_result.content)
|
|
727
|
-
.model_dump(mode="json")
|
|
727
|
+
# .model_dump(mode="json")
|
|
728
728
|
)
|
|
729
729
|
else:
|
|
730
730
|
return (
|
|
731
731
|
MaleoIdentityUserOrganizationClientResultsTransfers
|
|
732
732
|
.MultipleData
|
|
733
733
|
.model_validate(controller_result.content)
|
|
734
|
-
.model_dump(mode="json")
|
|
734
|
+
# .model_dump(mode="json")
|
|
735
735
|
)
|
|
736
736
|
return await _impl(
|
|
737
737
|
parameters=parameters,
|
|
@@ -838,37 +838,37 @@ class MaleoIdentityOrganizationClientService(MaleoClientService):
|
|
|
838
838
|
logger=self._logger,
|
|
839
839
|
fail_result_class=MaleoIdentityOrganizationRoleClientResultsTransfers.Fail
|
|
840
840
|
)
|
|
841
|
-
@BaseClientUtils.result_processor(
|
|
842
|
-
|
|
843
|
-
|
|
844
|
-
|
|
845
|
-
)
|
|
846
|
-
@cached(
|
|
847
|
-
|
|
848
|
-
|
|
849
|
-
|
|
850
|
-
|
|
851
|
-
|
|
852
|
-
|
|
853
|
-
|
|
854
|
-
|
|
855
|
-
|
|
856
|
-
|
|
857
|
-
|
|
858
|
-
|
|
859
|
-
|
|
860
|
-
|
|
861
|
-
|
|
862
|
-
|
|
863
|
-
|
|
864
|
-
|
|
865
|
-
|
|
866
|
-
|
|
867
|
-
|
|
868
|
-
|
|
869
|
-
|
|
870
|
-
|
|
871
|
-
)
|
|
841
|
+
# @BaseClientUtils.result_processor(
|
|
842
|
+
# fail_class=MaleoIdentityOrganizationRoleClientResultsTransfers.Fail,
|
|
843
|
+
# data_found_class=MaleoIdentityOrganizationRoleClientResultsTransfers.MultipleData,
|
|
844
|
+
# no_data_class=MaleoIdentityOrganizationRoleClientResultsTransfers.NoData
|
|
845
|
+
# )
|
|
846
|
+
# @cached(
|
|
847
|
+
# ttl=int(BaseEnums.CacheTTL.TTL_30MN),
|
|
848
|
+
# namespace=self.service_manager.configs.cache.redis.namespaces.create(
|
|
849
|
+
# "organization_role",
|
|
850
|
+
# type=BaseEnums.CacheType.CLIENT,
|
|
851
|
+
# base_override=self.key
|
|
852
|
+
# ),
|
|
853
|
+
# key_builder=BaseCacheConfigurations.key_builder,
|
|
854
|
+
# skip_cache_func=lambda x: (
|
|
855
|
+
# self.service_manager.settings.ENVIRONMENT == BaseEnums.EnvironmentType.LOCAL
|
|
856
|
+
# or x is None
|
|
857
|
+
# or (
|
|
858
|
+
# isinstance(x, dict)
|
|
859
|
+
# and (
|
|
860
|
+
# x.get("success") in [False, None]
|
|
861
|
+
# or (x.get("success") is True and x.get("data") is None)
|
|
862
|
+
# )
|
|
863
|
+
# )
|
|
864
|
+
# ),
|
|
865
|
+
# cache=Cache.REDIS,
|
|
866
|
+
# serializer=JsonSerializer(),
|
|
867
|
+
# endpoint=self.service_manager.configs.cache.redis.host,
|
|
868
|
+
# port=self.service_manager.configs.cache.redis.port,
|
|
869
|
+
# password=self.service_manager.configs.cache.redis.password,
|
|
870
|
+
# db=self.service_manager.configs.cache.redis.db
|
|
871
|
+
# )
|
|
872
872
|
async def _impl(
|
|
873
873
|
parameters:MaleoIdentityOrganizationRoleClientParametersTransfers.GetMultipleFromOrganization,
|
|
874
874
|
controller_type:MaleoIdentityGeneralEnums.ClientControllerType = MaleoIdentityGeneralEnums.ClientControllerType.HTTP
|
|
@@ -903,7 +903,7 @@ class MaleoIdentityOrganizationClientService(MaleoClientService):
|
|
|
903
903
|
MaleoIdentityOrganizationRoleClientResultsTransfers
|
|
904
904
|
.Fail
|
|
905
905
|
.model_validate(controller_result.content)
|
|
906
|
-
.model_dump(mode="json")
|
|
906
|
+
# .model_dump(mode="json")
|
|
907
907
|
)
|
|
908
908
|
else:
|
|
909
909
|
if controller_result.content["data"] is None:
|
|
@@ -911,14 +911,14 @@ class MaleoIdentityOrganizationClientService(MaleoClientService):
|
|
|
911
911
|
MaleoIdentityOrganizationRoleClientResultsTransfers
|
|
912
912
|
.NoData
|
|
913
913
|
.model_validate(controller_result.content)
|
|
914
|
-
.model_dump(mode="json")
|
|
914
|
+
# .model_dump(mode="json")
|
|
915
915
|
)
|
|
916
916
|
else:
|
|
917
917
|
return (
|
|
918
918
|
MaleoIdentityOrganizationRoleClientResultsTransfers
|
|
919
919
|
.MultipleData
|
|
920
920
|
.model_validate(controller_result.content)
|
|
921
|
-
.model_dump(mode="json")
|
|
921
|
+
# .model_dump(mode="json")
|
|
922
922
|
)
|
|
923
923
|
return await _impl(
|
|
924
924
|
parameters=parameters,
|
|
@@ -1025,37 +1025,37 @@ class MaleoIdentityOrganizationClientService(MaleoClientService):
|
|
|
1025
1025
|
logger=self._logger,
|
|
1026
1026
|
fail_result_class=MaleoIdentityUserOrganizationRoleClientResultsTransfers.Fail
|
|
1027
1027
|
)
|
|
1028
|
-
@BaseClientUtils.result_processor(
|
|
1029
|
-
|
|
1030
|
-
|
|
1031
|
-
|
|
1032
|
-
)
|
|
1033
|
-
@cached(
|
|
1034
|
-
|
|
1035
|
-
|
|
1036
|
-
|
|
1037
|
-
|
|
1038
|
-
|
|
1039
|
-
|
|
1040
|
-
|
|
1041
|
-
|
|
1042
|
-
|
|
1043
|
-
|
|
1044
|
-
|
|
1045
|
-
|
|
1046
|
-
|
|
1047
|
-
|
|
1048
|
-
|
|
1049
|
-
|
|
1050
|
-
|
|
1051
|
-
|
|
1052
|
-
|
|
1053
|
-
|
|
1054
|
-
|
|
1055
|
-
|
|
1056
|
-
|
|
1057
|
-
|
|
1058
|
-
)
|
|
1028
|
+
# @BaseClientUtils.result_processor(
|
|
1029
|
+
# fail_class=MaleoIdentityUserOrganizationRoleClientResultsTransfers.Fail,
|
|
1030
|
+
# data_found_class=MaleoIdentityUserOrganizationRoleClientResultsTransfers.MultipleData,
|
|
1031
|
+
# no_data_class=MaleoIdentityUserOrganizationRoleClientResultsTransfers.NoData
|
|
1032
|
+
# )
|
|
1033
|
+
# @cached(
|
|
1034
|
+
# ttl=int(BaseEnums.CacheTTL.TTL_30MN),
|
|
1035
|
+
# namespace=self.service_manager.configs.cache.redis.namespaces.create(
|
|
1036
|
+
# "user_organization_role",
|
|
1037
|
+
# type=BaseEnums.CacheType.CLIENT,
|
|
1038
|
+
# base_override=self.key
|
|
1039
|
+
# ),
|
|
1040
|
+
# key_builder=BaseCacheConfigurations.key_builder,
|
|
1041
|
+
# skip_cache_func=lambda x: (
|
|
1042
|
+
# self.service_manager.settings.ENVIRONMENT == BaseEnums.EnvironmentType.LOCAL
|
|
1043
|
+
# or x is None
|
|
1044
|
+
# or (
|
|
1045
|
+
# isinstance(x, dict)
|
|
1046
|
+
# and (
|
|
1047
|
+
# x.get("success") in [False, None]
|
|
1048
|
+
# or (x.get("success") is True and x.get("data") is None)
|
|
1049
|
+
# )
|
|
1050
|
+
# )
|
|
1051
|
+
# ),
|
|
1052
|
+
# cache=Cache.REDIS,
|
|
1053
|
+
# serializer=JsonSerializer(),
|
|
1054
|
+
# endpoint=self.service_manager.configs.cache.redis.host,
|
|
1055
|
+
# port=self.service_manager.configs.cache.redis.port,
|
|
1056
|
+
# password=self.service_manager.configs.cache.redis.password,
|
|
1057
|
+
# db=self.service_manager.configs.cache.redis.db
|
|
1058
|
+
# )
|
|
1059
1059
|
async def _impl(
|
|
1060
1060
|
parameters:MaleoIdentityUserOrganizationRoleClientParametersTransfers.GetMultipleFromUserOrOrganization,
|
|
1061
1061
|
controller_type:MaleoIdentityGeneralEnums.ClientControllerType = MaleoIdentityGeneralEnums.ClientControllerType.HTTP
|
|
@@ -1090,7 +1090,7 @@ class MaleoIdentityOrganizationClientService(MaleoClientService):
|
|
|
1090
1090
|
MaleoIdentityUserOrganizationRoleClientResultsTransfers
|
|
1091
1091
|
.Fail
|
|
1092
1092
|
.model_validate(controller_result.content)
|
|
1093
|
-
.model_dump(mode="json")
|
|
1093
|
+
# .model_dump(mode="json")
|
|
1094
1094
|
)
|
|
1095
1095
|
else:
|
|
1096
1096
|
if controller_result.content["data"] is None:
|
|
@@ -1098,14 +1098,14 @@ class MaleoIdentityOrganizationClientService(MaleoClientService):
|
|
|
1098
1098
|
MaleoIdentityUserOrganizationRoleClientResultsTransfers
|
|
1099
1099
|
.NoData
|
|
1100
1100
|
.model_validate(controller_result.content)
|
|
1101
|
-
.model_dump(mode="json")
|
|
1101
|
+
# .model_dump(mode="json")
|
|
1102
1102
|
)
|
|
1103
1103
|
else:
|
|
1104
1104
|
return (
|
|
1105
1105
|
MaleoIdentityUserOrganizationRoleClientResultsTransfers
|
|
1106
1106
|
.MultipleData
|
|
1107
1107
|
.model_validate(controller_result.content)
|
|
1108
|
-
.model_dump(mode="json")
|
|
1108
|
+
# .model_dump(mode="json")
|
|
1109
1109
|
)
|
|
1110
1110
|
return await _impl(
|
|
1111
1111
|
parameters=parameters,
|