maleo-foundation 0.2.17__py3-none-any.whl → 0.2.19__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.
- maleo_foundation/models/schemas/result.py +9 -1
- {maleo_foundation-0.2.17.dist-info → maleo_foundation-0.2.19.dist-info}/METADATA +1 -1
- {maleo_foundation-0.2.17.dist-info → maleo_foundation-0.2.19.dist-info}/RECORD +5 -5
- {maleo_foundation-0.2.17.dist-info → maleo_foundation-0.2.19.dist-info}/WHEEL +0 -0
- {maleo_foundation-0.2.17.dist-info → maleo_foundation-0.2.19.dist-info}/top_level.txt +0 -0
@@ -1,8 +1,15 @@
|
|
1
1
|
from pydantic import BaseModel, Field
|
2
|
-
from typing import Any
|
2
|
+
from typing import Dict, Optional, Union, Any
|
3
3
|
from maleo_foundation.models.schemas.general import BaseGeneralSchemas
|
4
4
|
from maleo_foundation.types import BaseTypes
|
5
5
|
|
6
|
+
class FieldExpansionMetadata(BaseModel):
|
7
|
+
success:bool = Field(..., description="Field expansion's success status")
|
8
|
+
info:BaseTypes.OptionalAny = Field(None, description="Optional information")
|
9
|
+
|
10
|
+
class ResultMetadata(BaseModel):
|
11
|
+
field_expansion:Optional[Union[str, Dict[str, FieldExpansionMetadata]]] = Field(None, description="Field expansion metadata")
|
12
|
+
|
6
13
|
class BaseResultSchemas:
|
7
14
|
class BaseRow(BaseModel):
|
8
15
|
class Config:
|
@@ -14,6 +21,7 @@ class BaseResultSchemas:
|
|
14
21
|
message:BaseTypes.OptionalString = Field(None, description="Optional message")
|
15
22
|
description:BaseTypes.OptionalString = Field(None, description="Optional description")
|
16
23
|
data:Any = Field(..., description="Data")
|
24
|
+
metadata:Optional[ResultMetadata] = Field(None, description="Optional metadata")
|
17
25
|
other:BaseTypes.OptionalAny = Field(None, description="Optional other information")
|
18
26
|
|
19
27
|
#* ----- ----- ----- Intermediary ----- ----- ----- *#
|
@@ -53,7 +53,7 @@ maleo_foundation/models/schemas/general.py,sha256=YQ2d3MxkraNkWO-QD3xAChnOsUVzzb
|
|
53
53
|
maleo_foundation/models/schemas/hash.py,sha256=db2uyCeUzvF2zDCcbiZMh1MxIOGOGezOMOx-M1ta4zI,441
|
54
54
|
maleo_foundation/models/schemas/key.py,sha256=7FZxVqTL5qRK48AXL1odrMNhAwhwtCwSkBUPsJwuBII,594
|
55
55
|
maleo_foundation/models/schemas/parameter.py,sha256=K47z2NzmTEhUiOfRiRLyRPXoQurbWsKBL7ObXAxIWRY,2100
|
56
|
-
maleo_foundation/models/schemas/result.py,sha256=
|
56
|
+
maleo_foundation/models/schemas/result.py,sha256=c9Fj6H_-cX6phM6J0U6nr7y4wv07-Ede35GWsT79w5o,3372
|
57
57
|
maleo_foundation/models/schemas/signature.py,sha256=-5ldTnJsjwqPRbHw7PFcLKITqEXJ_qKDdRHShK75NVA,620
|
58
58
|
maleo_foundation/models/schemas/token.py,sha256=RYq8v1T_WZIu8lcjwyV6Pp7ZjFkr_lW9x6QyDmXBsfw,563
|
59
59
|
maleo_foundation/models/transfers/__init__.py,sha256=oJLJ3Geeme6vBw7R2Dhvdvg4ziVvzEYAGJaP-tm_90w,299
|
@@ -110,7 +110,7 @@ maleo_foundation/utils/loaders/credential/__init__.py,sha256=qopTKvcMVoTFwyRijeg
|
|
110
110
|
maleo_foundation/utils/loaders/credential/google.py,sha256=SKsqPuFnAiCcYLf24CxKnMybhVHpgqnq1gGSlThqjts,994
|
111
111
|
maleo_foundation/utils/loaders/key/__init__.py,sha256=hVygcC2ImHc_aVrSrOmyedR8tMUZokWUKCKOSh5ctbo,106
|
112
112
|
maleo_foundation/utils/loaders/key/rsa.py,sha256=gDhyX6iTFtHiluuhFCozaZ3pOLKU2Y9TlrNMK_GVyGU,3796
|
113
|
-
maleo_foundation-0.2.
|
114
|
-
maleo_foundation-0.2.
|
115
|
-
maleo_foundation-0.2.
|
116
|
-
maleo_foundation-0.2.
|
113
|
+
maleo_foundation-0.2.19.dist-info/METADATA,sha256=6EoYLJ31eGShgZ-au8_LeWgUlvGYmC-EDh1pLM8sMbg,3419
|
114
|
+
maleo_foundation-0.2.19.dist-info/WHEEL,sha256=Nw36Djuh_5VDukK0H78QzOX-_FQEo6V37m3nkm96gtU,91
|
115
|
+
maleo_foundation-0.2.19.dist-info/top_level.txt,sha256=_iBos3F_bhEOdjOnzeiEYSrCucasc810xXtLBXI8cQc,17
|
116
|
+
maleo_foundation-0.2.19.dist-info/RECORD,,
|
File without changes
|
File without changes
|