maleo-identity 0.0.82__py3-none-any.whl → 0.0.83__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.

@@ -0,0 +1,15 @@
1
+ from maleo.soma.dtos.configurations import ConfigurationDTO as BaseConfigurationDTO
2
+ from maleo.soma.dtos.configurations.client.maleo import (
3
+ MaleoMetadataClientConfigurationMixin,
4
+ )
5
+ from maleo.soma.dtos.configurations.pubsub.publisher import TopicsConfigurationDTO
6
+
7
+
8
+ class MaleoClientsConfiguration(MaleoMetadataClientConfigurationMixin):
9
+ pass
10
+
11
+
12
+ class ConfigurationDTO(
13
+ BaseConfigurationDTO[MaleoClientsConfiguration, TopicsConfigurationDTO, None]
14
+ ):
15
+ pass
File without changes
@@ -0,0 +1,17 @@
1
+ from pydantic import model_validator
2
+ from typing import Self
3
+ from maleo.soma.dtos.settings import Settings as BaseSettings
4
+ from maleo.soma.enums.service import ServiceKey, ServiceName
5
+
6
+
7
+ class Settings(BaseSettings):
8
+ @model_validator(mode="after")
9
+ def validate_service_key_name(self) -> Self:
10
+ assert (
11
+ self.SERVICE_KEY is ServiceKey.IDENTITY
12
+ ), f"'SERVICE_KEY' must be '{ServiceKey.IDENTITY}'"
13
+ assert (
14
+ self.SERVICE_NAME is ServiceName.IDENTITY
15
+ ), f"'SERVICE_NAME' must be '{ServiceName.IDENTITY}'"
16
+
17
+ return self
@@ -1,7 +1,7 @@
1
1
  from pydantic import BaseModel, Field
2
2
  from typing import Optional
3
3
  from maleo.soma.mixins.data import DataIdentifier, DataTimestamp, DataStatus
4
- from maleo.identity.dtos.organization_registration_code import (
4
+ from maleo.identity.dtos.data.organization_registration_code import (
5
5
  OrganizationRegistrationCodeDTO,
6
6
  )
7
7
 
@@ -1,13 +1,13 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: maleo-identity
3
- Version: 0.0.82
3
+ Version: 0.0.83
4
4
  Summary: MaleoIdentity service package
5
5
  Author-email: Agra Bima Yuda <agra@nexmedis.com>
6
6
  License: MIT
7
7
  Requires-Python: >=3.7
8
8
  Description-Content-Type: text/markdown
9
- Requires-Dist: maleo_soma>=0.1.71
10
- Requires-Dist: maleo_metadata>=0.2.27
9
+ Requires-Dist: maleo_soma>=0.1.84
10
+ Requires-Dist: maleo_metadata>=0.2.40
11
11
 
12
12
  # README #
13
13
 
@@ -21,8 +21,11 @@ maleo/identity/constants/user_organization_role.py,sha256=FhWRyJ6whVRPD7-SqfpCqJ
21
21
  maleo/identity/constants/user_profile.py,sha256=HGqRx_PQQQYtGuAJtWQhtOvo1MaClgKFiD9XuH1fwCA,780
22
22
  maleo/identity/constants/user_system_role.py,sha256=ifHNZvvRbLoTc-bzL5_nCvobR0jwHsnSm6-UYq0QDzw,474
23
23
  maleo/identity/dtos/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
24
- maleo/identity/dtos/organization_registration_code.py,sha256=nAxB8010MwKOjc3KvTtinFan7L2oiNx_BvEE1PXl_Rk,275
25
- maleo/identity/dtos/user_profile.py,sha256=Gf7FZVmHPmX48aT9kCWh1Mgt4WQgS2X7a5m45Pn-hEw,450
24
+ maleo/identity/dtos/configuration.py,sha256=gCsLhgmXjhsPCv0n80QHW7f4AlV1I-kbvZCuOW2c_Ss,473
25
+ maleo/identity/dtos/settings.py,sha256=LZ_nEzGQabYA8-7QV3YLPXrRIiKasa-62cQBgBwvhVw,583
26
+ maleo/identity/dtos/data/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
27
+ maleo/identity/dtos/data/organization_registration_code.py,sha256=nAxB8010MwKOjc3KvTtinFan7L2oiNx_BvEE1PXl_Rk,275
28
+ maleo/identity/dtos/data/user_profile.py,sha256=Gf7FZVmHPmX48aT9kCWh1Mgt4WQgS2X7a5m45Pn-hEw,450
26
29
  maleo/identity/enums/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
27
30
  maleo/identity/enums/general.py,sha256=jR831PHPLErbT224_bKDvIHYFND0hF6yvN9cma58Vp8,82
28
31
  maleo/identity/enums/organization.py,sha256=dFA1Ska3SxCTd8qegz9bzMdlPbzsOJm0xadDffcviTk,228
@@ -54,7 +57,7 @@ maleo/identity/models/user_system_role.py,sha256=TtyQRO_OE9kbRDNprPQc-2Vc0tP3cY7
54
57
  maleo/identity/schemas/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
55
58
  maleo/identity/schemas/data/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
56
59
  maleo/identity/schemas/data/organization.py,sha256=3cCZ6AX4r7VeW9ybaiFfq6mfpY84dnFreetP77Wv_vE,1053
57
- maleo/identity/schemas/data/organization_registration_code.py,sha256=oxLEWlnYN5sMKL-buGktzVyLGyFNyAy_bPutEuIBGd4,821
60
+ maleo/identity/schemas/data/organization_registration_code.py,sha256=JF5eSH0o1-2B9rqap1-2Q1gw3zs1TMs2qTIEX9h87dU,826
58
61
  maleo/identity/schemas/data/organization_role.py,sha256=LKqLNdZ5dMxF_Wb4x7MozsAZKFQIt2aLatZdcuhex3Q,879
59
62
  maleo/identity/schemas/data/user.py,sha256=jZypPr7IN2ccOd2sqWm0mDBKd5e4djwMTjpVwoG4ED4,908
60
63
  maleo/identity/schemas/data/user_organization.py,sha256=BBgBhGk2ADMuzubyNuEHh-gfo5orU_YnYxEy9F6Qg6s,593
@@ -96,7 +99,7 @@ maleo/identity/types/base/organization.py,sha256=wLu9QcVDfiMke3-Smfs-LI3zV5QiMuC
96
99
  maleo/identity/types/base/organization_registration_code.py,sha256=V8cct7fTIO-OT7RoYuui__oblyIUzFdQWOwHfhflpUc,87
97
100
  maleo/identity/types/base/user.py,sha256=wLu9QcVDfiMke3-Smfs-LI3zV5QiMuCKkoa0CCRmh4s,93
98
101
  maleo/identity/types/base/user_profile.py,sha256=E81XLbjJ8szrnPRA09VILrr4at4mKWJLeGOfYWLnWPQ,65
99
- maleo_identity-0.0.82.dist-info/METADATA,sha256=F_eRQVlNjeVpbFPrhqPKXp7w-qsXEhp-y6auq7dObQs,862
100
- maleo_identity-0.0.82.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
101
- maleo_identity-0.0.82.dist-info/top_level.txt,sha256=3Tpd1siVsfYoeI9FEOJNYnffx_shzZ3wsPpTvz5bljc,6
102
- maleo_identity-0.0.82.dist-info/RECORD,,
102
+ maleo_identity-0.0.83.dist-info/METADATA,sha256=lAlPT2ibjYq9GXIUW2vtq1YcfYz1QvgUAJ7J-22_UP0,862
103
+ maleo_identity-0.0.83.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
104
+ maleo_identity-0.0.83.dist-info/top_level.txt,sha256=3Tpd1siVsfYoeI9FEOJNYnffx_shzZ3wsPpTvz5bljc,6
105
+ maleo_identity-0.0.83.dist-info/RECORD,,