internal 0.1.1__py3-none-any.whl → 0.1.2__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 internal might be problematic. Click here for more details.

@@ -1,8 +1,8 @@
1
1
  from datetime import datetime
2
+ from beanie import Document
3
+ from pydantic import Field
2
4
 
3
- from pydantic import BaseModel, Field
4
5
 
5
-
6
- class InternalBaseModel(BaseModel):
6
+ class InternalBaseModel(Document):
7
7
  create_time: datetime = Field(default_factory=datetime.utcnow)
8
8
  update_time: datetime = Field(default_factory=datetime.utcnow)
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: internal
3
- Version: 0.1.1
3
+ Version: 0.1.2
4
4
  Summary:
5
5
  Author: Ray
6
6
  Author-email: ray@cruisys.com
@@ -12,9 +12,9 @@ internal/ext/amazon/aws/const.py,sha256=l4WMg5bKWujwOKABBkCO2zclNg3abnYOfbhD7DG8
12
12
  internal/http/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
13
13
  internal/http/requests.py,sha256=BZPlrfNbxO2-fOiIQxioX9qwiYlBsfwMF2tJN-AnOcE,502
14
14
  internal/model/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
15
- internal/model/base_model.py,sha256=ICLwfn0YZBU15zL9ImS5sMgKKGWkob28k_OMC5P3TBc,241
15
+ internal/model/base_model.py,sha256=lr2vNKFIJFX--wJutMMD6iSuIg2P07V0-sicxtPWyow,256
16
16
  internal/model/operate.py,sha256=B8P_yWLd3yg-Am_W5WB70sC6Zfz_sWO3myiimr8ysSk,224
17
17
  internal/utils.py,sha256=tDas83c_tDsWHBDMa-m3f3HXYbmel8kif8TWdLBr6LU,1440
18
- internal-0.1.1.dist-info/METADATA,sha256=lOVtSdJR-sVjz6kXWxg9jQIS43TcvvNY0ARmufnAoFY,580
19
- internal-0.1.1.dist-info/WHEEL,sha256=FMvqSimYX_P7y0a7UY-_Mc83r5zkBZsCYPm7Lr0Bsq4,88
20
- internal-0.1.1.dist-info/RECORD,,
18
+ internal-0.1.2.dist-info/METADATA,sha256=suW3ASABY8jYPH5X-wicFGXOTLqE2-_VTx8VP0wM7Zg,580
19
+ internal-0.1.2.dist-info/WHEEL,sha256=FMvqSimYX_P7y0a7UY-_Mc83r5zkBZsCYPm7Lr0Bsq4,88
20
+ internal-0.1.2.dist-info/RECORD,,