maleo-foundation 0.1.84__py3-none-any.whl → 0.1.86__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.
@@ -4,6 +4,10 @@ from maleo_foundation.models.schemas.general import BaseGeneralSchemas
4
4
  from maleo_foundation.types import BaseTypes
5
5
 
6
6
  class BaseResultSchemas:
7
+ class BaseRow(BaseModel):
8
+ class Config:
9
+ from_attributes=True
10
+
7
11
  class Base(BaseModel):
8
12
  success:bool = Field(..., description="Success status")
9
13
  code:BaseTypes.OptionalString = Field(None, description="Optional result code")
@@ -7,10 +7,9 @@ class BaseServiceQueryResultsTransfers:
7
7
  class Row(
8
8
  BaseGeneralSchemas.Status,
9
9
  BaseGeneralSchemas.Timestamps,
10
- BaseGeneralSchemas.Identifiers
11
- ):
12
- class Config:
13
- from_attributes=True
10
+ BaseGeneralSchemas.Identifiers,
11
+ BaseResultSchemas.BaseRow
12
+ ): pass
14
13
 
15
14
  class Fail(BaseResultSchemas.Fail): pass
16
15
 
@@ -7,8 +7,6 @@ from typing import Optional, Union
7
7
  class GoogleCredentialsLoader:
8
8
  @staticmethod
9
9
  def load(credentials_path:Optional[Union[Path, str]] = None) -> Credentials:
10
- if not isinstance(credentials_path, (Path, type[None], str)):
11
- raise TypeError("Google credentials type can only be 'Path', 'str', or 'None'")
12
10
  if credentials_path is None:
13
11
  credentials_path = os.getenv("GOOGLE_CREDENTIALS_PATH")
14
12
  else:
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: maleo_foundation
3
- Version: 0.1.84
3
+ Version: 0.1.86
4
4
  Summary: Foundation package for Maleo
5
5
  Author-email: Agra Bima Yuda <agra@nexmedis.com>
6
6
  License: MIT
@@ -52,7 +52,7 @@ maleo_foundation/models/schemas/general.py,sha256=KGPP67ciKeL8cvOS3kYrVwmRx3kD33
52
52
  maleo_foundation/models/schemas/hash.py,sha256=db2uyCeUzvF2zDCcbiZMh1MxIOGOGezOMOx-M1ta4zI,441
53
53
  maleo_foundation/models/schemas/key.py,sha256=7FZxVqTL5qRK48AXL1odrMNhAwhwtCwSkBUPsJwuBII,594
54
54
  maleo_foundation/models/schemas/parameter.py,sha256=K47z2NzmTEhUiOfRiRLyRPXoQurbWsKBL7ObXAxIWRY,2100
55
- maleo_foundation/models/schemas/result.py,sha256=V3dljS2AdtWW4Pf8YsnQuiCylN1bZtEY1AtYC7okWuI,1747
55
+ maleo_foundation/models/schemas/result.py,sha256=fvS7yxqdCmBgU-zIcS0QkoFzuGRfPotFCRVk6uk1Lz8,1833
56
56
  maleo_foundation/models/schemas/signature.py,sha256=-5ldTnJsjwqPRbHw7PFcLKITqEXJ_qKDdRHShK75NVA,620
57
57
  maleo_foundation/models/schemas/token.py,sha256=oaK4XVb-2q31ooZMwPDfQhaGFLzs2QZxEgIGz8rp_Y4,562
58
58
  maleo_foundation/models/transfers/__init__.py,sha256=oJLJ3Geeme6vBw7R2Dhvdvg4ziVvzEYAGJaP-tm_90w,299
@@ -88,7 +88,7 @@ maleo_foundation/models/transfers/results/encryption/aes.py,sha256=yx3hZNhge2lfj
88
88
  maleo_foundation/models/transfers/results/encryption/rsa.py,sha256=hlCtiT1TZwmMBEn-sgGs-WocNEmJ4qxWcHS5y9m7Voc,683
89
89
  maleo_foundation/models/transfers/results/service/__init__.py,sha256=dTjHe1iGIpdulrzawQoOj003sxxObumF63YpUptKrDA,390
90
90
  maleo_foundation/models/transfers/results/service/general.py,sha256=G4x-MhQI7Km9UAcx2uJmrsqA6RBvxpH6VFAd_ynFFd4,1486
91
- maleo_foundation/models/transfers/results/service/query.py,sha256=G5A4FRkHyRRlpuGWrPV5-vqgyyBjMqu8f-Ka9BjD0lA,1828
91
+ maleo_foundation/models/transfers/results/service/query.py,sha256=9Nl_BDHf9cGMY4mMfgs0VFgMHWM0UKEjsUh9FgwOwb8,1813
92
92
  maleo_foundation/models/transfers/results/service/controllers/__init__.py,sha256=HZJWMy2dskzOCzLmp_UaL9rjbQ-sDMI7sd2bXb-4QOU,175
93
93
  maleo_foundation/models/transfers/results/service/controllers/rest.py,sha256=wCuFyOTQkuBs2cqjPsWnPy0XIsCfMqGByhrSy57qp7Y,1107
94
94
  maleo_foundation/utils/__init__.py,sha256=SRPEVoqjZoO6W8rtF_Ti8VIangg6Auwm6eHbZMdOthY,520
@@ -104,10 +104,10 @@ maleo_foundation/utils/loaders/__init__.py,sha256=P_3ycGfeDXFjAi8bE4iLWHxBveqUId
104
104
  maleo_foundation/utils/loaders/json.py,sha256=NsXLq3VZSgzmEf99tV1VtrmiudWdQ8Pzh_hI4Rm0cM8,397
105
105
  maleo_foundation/utils/loaders/yaml.py,sha256=L438PTWFnE0St_T4-7f_3TV4apfh0LhYkIdODCuYuDw,388
106
106
  maleo_foundation/utils/loaders/credential/__init__.py,sha256=qopTKvcMVoTFwyRijeg7rejnG4I684FjUwh70tvhtVM,141
107
- maleo_foundation/utils/loaders/credential/google.py,sha256=Xgylh2gboR5w_FIh0bufuqluplEA_XtC19ggCJ164yw,1110
107
+ maleo_foundation/utils/loaders/credential/google.py,sha256=deksZXT5wPhEsSMHbZ3x05WHXxCjLDt76Ns-1Tmhp7g,948
108
108
  maleo_foundation/utils/loaders/key/__init__.py,sha256=hVygcC2ImHc_aVrSrOmyedR8tMUZokWUKCKOSh5ctbo,106
109
109
  maleo_foundation/utils/loaders/key/rsa.py,sha256=gDhyX6iTFtHiluuhFCozaZ3pOLKU2Y9TlrNMK_GVyGU,3796
110
- maleo_foundation-0.1.84.dist-info/METADATA,sha256=F_IS-1_S0U56Kl_1Qe4LSCVygov6TydoB4LDEMOETZ4,3419
111
- maleo_foundation-0.1.84.dist-info/WHEEL,sha256=DnLRTWE75wApRYVsjgc6wsVswC54sMSJhAEd4xhDpBk,91
112
- maleo_foundation-0.1.84.dist-info/top_level.txt,sha256=_iBos3F_bhEOdjOnzeiEYSrCucasc810xXtLBXI8cQc,17
113
- maleo_foundation-0.1.84.dist-info/RECORD,,
110
+ maleo_foundation-0.1.86.dist-info/METADATA,sha256=Dccptf_LNl-pELiShKgBE9S2VhrdNEdk1Rb3V1H8U90,3419
111
+ maleo_foundation-0.1.86.dist-info/WHEEL,sha256=DnLRTWE75wApRYVsjgc6wsVswC54sMSJhAEd4xhDpBk,91
112
+ maleo_foundation-0.1.86.dist-info/top_level.txt,sha256=_iBos3F_bhEOdjOnzeiEYSrCucasc810xXtLBXI8cQc,17
113
+ maleo_foundation-0.1.86.dist-info/RECORD,,