maleo-foundation 0.2.76__py3-none-any.whl → 0.2.78__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/general.py +8 -2
- maleo_foundation/models/transfers/general/__init__.py +7 -1
- {maleo_foundation-0.2.76.dist-info → maleo_foundation-0.2.78.dist-info}/METADATA +1 -1
- {maleo_foundation-0.2.76.dist-info → maleo_foundation-0.2.78.dist-info}/RECORD +6 -6
- {maleo_foundation-0.2.76.dist-info → maleo_foundation-0.2.78.dist-info}/WHEEL +0 -0
- {maleo_foundation-0.2.76.dist-info → maleo_foundation-0.2.78.dist-info}/top_level.txt +0 -0
@@ -1,5 +1,5 @@
|
|
1
1
|
from __future__ import annotations
|
2
|
-
from datetime import datetime
|
2
|
+
from datetime import datetime, timezone
|
3
3
|
from pydantic import BaseModel, Field
|
4
4
|
from uuid import UUID
|
5
5
|
from maleo_foundation.enums import BaseEnums
|
@@ -77,4 +77,10 @@ class BaseGeneralSchemas:
|
|
77
77
|
class RSAKeys(BaseModel):
|
78
78
|
password:str = Field(..., description="Key's password")
|
79
79
|
private:str = Field(..., description="Private key")
|
80
|
-
public:str = Field(..., description="Public key")
|
80
|
+
public:str = Field(..., description="Public key")
|
81
|
+
|
82
|
+
class AccessedAt(BaseModel):
|
83
|
+
accessed_at:datetime = Field(datetime.now(tz=timezone.utc), description="Accessed at")
|
84
|
+
|
85
|
+
class AccessedBy(BaseModel):
|
86
|
+
accessed_by:int = Field(0, ge=0, description="Accessed by")
|
@@ -1,5 +1,11 @@
|
|
1
1
|
from __future__ import annotations
|
2
|
+
from maleo_foundation.models.schemas.general import BaseGeneralSchemas
|
2
3
|
from .token import MaleoFoundationTokenGeneralTransfers
|
3
4
|
|
4
5
|
class BaseGeneralTransfers:
|
5
|
-
Token = MaleoFoundationTokenGeneralTransfers
|
6
|
+
Token = MaleoFoundationTokenGeneralTransfers
|
7
|
+
|
8
|
+
class AccessTransfers(
|
9
|
+
BaseGeneralSchemas.AccessedBy,
|
10
|
+
BaseGeneralSchemas.AccessedAt
|
11
|
+
): pass
|
@@ -54,7 +54,7 @@ maleo_foundation/models/responses.py,sha256=nE5qThK-WgcYB-9J4wHzJltMA3PLmWbMI-dk
|
|
54
54
|
maleo_foundation/models/table.py,sha256=yFv9KAr0kp-QqfIFEPXqRn61pQKCCIory1zEL7Y7rVc,1873
|
55
55
|
maleo_foundation/models/schemas/__init__.py,sha256=Xj8Ahsqyra-fmEaVcGPok5GOOsPQlKcknHYMvbjvENA,277
|
56
56
|
maleo_foundation/models/schemas/encryption.py,sha256=KYs2P57AqWpEROuqTuSuyt1Zk-jsIUKFeRWIfSwem74,658
|
57
|
-
maleo_foundation/models/schemas/general.py,sha256=
|
57
|
+
maleo_foundation/models/schemas/general.py,sha256=1X0aQohTGN_EbYk1aTn7H4vhUB17A5I711fROy2Exio,3671
|
58
58
|
maleo_foundation/models/schemas/hash.py,sha256=db2uyCeUzvF2zDCcbiZMh1MxIOGOGezOMOx-M1ta4zI,441
|
59
59
|
maleo_foundation/models/schemas/key.py,sha256=7FZxVqTL5qRK48AXL1odrMNhAwhwtCwSkBUPsJwuBII,594
|
60
60
|
maleo_foundation/models/schemas/parameter.py,sha256=6jVHw538cnCK-SN8SlPVKWakeeJGn3yRNzHegR231j8,3497
|
@@ -62,7 +62,7 @@ maleo_foundation/models/schemas/result.py,sha256=MaWDyKGvZu0IcvKMj30lrMXojGV9Mhi
|
|
62
62
|
maleo_foundation/models/schemas/signature.py,sha256=-5ldTnJsjwqPRbHw7PFcLKITqEXJ_qKDdRHShK75NVA,620
|
63
63
|
maleo_foundation/models/schemas/token.py,sha256=RYq8v1T_WZIu8lcjwyV6Pp7ZjFkr_lW9x6QyDmXBsfw,563
|
64
64
|
maleo_foundation/models/transfers/__init__.py,sha256=oJLJ3Geeme6vBw7R2Dhvdvg4ziVvzEYAGJaP-tm_90w,299
|
65
|
-
maleo_foundation/models/transfers/general/__init__.py,sha256=
|
65
|
+
maleo_foundation/models/transfers/general/__init__.py,sha256=7yQNGSihJt1db6i_zIrhLdY2Tgn5lrTxuDlAVlDh2vo,340
|
66
66
|
maleo_foundation/models/transfers/general/key.py,sha256=tLKkXbwNu7Oc1MdKa8-Y7TlBAIk54h_02AmL5Yg2PrQ,751
|
67
67
|
maleo_foundation/models/transfers/general/signature.py,sha256=J9xQy2HjpCQOnES7RJqsUnDgjFPuakQ1mxyfdTdstSE,297
|
68
68
|
maleo_foundation/models/transfers/general/token.py,sha256=O_U6dQS7oMScJzqufl6Pe21pTxMsYhOzKH8aFLxjblQ,2895
|
@@ -118,7 +118,7 @@ maleo_foundation/utils/loaders/credential/__init__.py,sha256=qopTKvcMVoTFwyRijeg
|
|
118
118
|
maleo_foundation/utils/loaders/credential/google.py,sha256=HUcuHD4tXHPt0eHInlFYxA_MDrGSOtbenpd0PX156OM,1255
|
119
119
|
maleo_foundation/utils/loaders/key/__init__.py,sha256=hVygcC2ImHc_aVrSrOmyedR8tMUZokWUKCKOSh5ctbo,106
|
120
120
|
maleo_foundation/utils/loaders/key/rsa.py,sha256=gDhyX6iTFtHiluuhFCozaZ3pOLKU2Y9TlrNMK_GVyGU,3796
|
121
|
-
maleo_foundation-0.2.
|
122
|
-
maleo_foundation-0.2.
|
123
|
-
maleo_foundation-0.2.
|
124
|
-
maleo_foundation-0.2.
|
121
|
+
maleo_foundation-0.2.78.dist-info/METADATA,sha256=ClqJ8m73PDVT6xirjl0uPeyFm_r93Lk9Lkm1DyfoLOY,3598
|
122
|
+
maleo_foundation-0.2.78.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
|
123
|
+
maleo_foundation-0.2.78.dist-info/top_level.txt,sha256=_iBos3F_bhEOdjOnzeiEYSrCucasc810xXtLBXI8cQc,17
|
124
|
+
maleo_foundation-0.2.78.dist-info/RECORD,,
|
File without changes
|
File without changes
|