maleo-foundation 0.3.51__py3-none-any.whl → 0.3.53__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/enums.py CHANGED
@@ -171,4 +171,5 @@ class BaseEnums:
171
171
  class DataSource(StrEnum):
172
172
  CACHE = "cache"
173
173
  DATABASE = "database"
174
+ MICROSERVICE = "microservice"
174
175
  THIRD_PARTY = "third_party"
@@ -1,3 +1,4 @@
1
+ from datetime import datetime, timezone
1
2
  from pydantic import BaseModel, Field
2
3
  from typing import Dict, Optional, Union, Any
3
4
  from maleo_foundation.enums import BaseEnums
@@ -95,6 +96,9 @@ class BaseResultSchemas:
95
96
  )
96
97
 
97
98
  class Get(BaseModel):
99
+ accessed_at: datetime = Field(
100
+ datetime.now(tz=timezone.utc), description="Accessed at timestamp"
101
+ )
98
102
  source: BaseEnums.DataSource = Field(..., description="Data source")
99
103
 
100
104
 
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: maleo_foundation
3
- Version: 0.3.51
3
+ Version: 0.3.53
4
4
  Summary: Foundation package for Maleo
5
5
  Author-email: Agra Bima Yuda <agra@nexmedis.com>
6
6
  License: MIT
@@ -2,7 +2,7 @@ maleo_foundation/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,
2
2
  maleo_foundation/authentication.py,sha256=Fo4DYLXOqX3sd-m8Eu0oVeuGN0YYLC8xlneGJClQ5Oc,2725
3
3
  maleo_foundation/authorization.py,sha256=8P1hleBYRv8kda4uQcbHVujHVAlI92YV1Flfzf-oJEU,285
4
4
  maleo_foundation/constants.py,sha256=cgW2TjXYEdQRoYCL3fMk3r5B2Yr-Av67CaEAdY5SZ6o,1529
5
- maleo_foundation/enums.py,sha256=vraAOxL8xX3gLmSfBifi4_MYewRjZTRh0ioqrd4Tfqk,4940
5
+ maleo_foundation/enums.py,sha256=0-AEsjoUU8wUo20mpqLr3uVpz2s1TlEoeSTk2yoe_Ck,4978
6
6
  maleo_foundation/extended_types.py,sha256=oOAYc5f89WcPt5OWEaNdeceENHiPVr4KDhdttg6bA_w,305
7
7
  maleo_foundation/rest_controller_result.py,sha256=uZxBxZ5hB98q1B4hNyRigHcO0560NYfUjq8L662aOPw,2172
8
8
  maleo_foundation/types.py,sha256=Tq50KOISbnsMslVGBCqlY77lRAQZa-UUFDGqqwRglow,2466
@@ -58,7 +58,7 @@ maleo_foundation/models/schemas/general.py,sha256=jxzBsVGsdKKEiM14MfV47dDiAZalUK
58
58
  maleo_foundation/models/schemas/hash.py,sha256=jthDmu_VTBydffPruAIAiR8l0Xs6IrlgTptaP42zr1M,447
59
59
  maleo_foundation/models/schemas/key.py,sha256=LSEDQpaCxavwp5je2O-ZNyOPtrFW_lXDywF9LK-An1w,622
60
60
  maleo_foundation/models/schemas/parameter.py,sha256=OE1hg100lEa2IlGlT2Zz6PJ-OcC-6ZfDzsTOeJvvEig,3907
61
- maleo_foundation/models/schemas/result.py,sha256=r9BY7sXBbguCyw9ZO6lXenf7TMvCe_G8hDi25x0BBdI,4376
61
+ maleo_foundation/models/schemas/result.py,sha256=IL2L36vTTeo3LsWz5kNcodN8ZSXJoZARisoNcmIHGZg,4544
62
62
  maleo_foundation/models/schemas/signature.py,sha256=h0sa91vnCaivmvlbqOd7RLiCz8qAY8gCzEnm0DOBlSg,649
63
63
  maleo_foundation/models/schemas/token.py,sha256=eh4k9rm_MoaCfGV3Nqa7yFH-PH7Ec6WY4RxHhbF4m5U,591
64
64
  maleo_foundation/models/transfers/__init__.py,sha256=V5kdd8wuXqe78bQ7HG3a8vW3Rkke2wTr6mb5lC0IQJg,301
@@ -132,7 +132,7 @@ maleo_foundation/utils/loaders/credential/__init__.py,sha256=g-cAxkTE2EtHaG8Tv52
132
132
  maleo_foundation/utils/loaders/credential/google.py,sha256=GCJl-bsKSSxoE_ERAkIzRrRNIbIEeqYOhHwzFuBr0mk,6576
133
133
  maleo_foundation/utils/loaders/key/__init__.py,sha256=RfqIbUxkdlx1xrbzJZPD_JHiRFNFLRuQs8JoUPCGCv4,108
134
134
  maleo_foundation/utils/loaders/key/rsa.py,sha256=UXcP0rr4QVacTsHLNQuU05wcow5CHWz-JW-zsVxlbPs,4121
135
- maleo_foundation-0.3.51.dist-info/METADATA,sha256=lSOeSrhw6uQjWI4RnY7JS-CmeoFSpClguvysC5vl9eI,4150
136
- maleo_foundation-0.3.51.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
137
- maleo_foundation-0.3.51.dist-info/top_level.txt,sha256=_iBos3F_bhEOdjOnzeiEYSrCucasc810xXtLBXI8cQc,17
138
- maleo_foundation-0.3.51.dist-info/RECORD,,
135
+ maleo_foundation-0.3.53.dist-info/METADATA,sha256=f_Yg_Q0qYRI9OIo5_DasJHdfEy6i3Qzs84SwhzmuqHI,4150
136
+ maleo_foundation-0.3.53.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
137
+ maleo_foundation-0.3.53.dist-info/top_level.txt,sha256=_iBos3F_bhEOdjOnzeiEYSrCucasc810xXtLBXI8cQc,17
138
+ maleo_foundation-0.3.53.dist-info/RECORD,,