internal 0.1.13__py3-none-any.whl → 0.1.14__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.

@@ -3,6 +3,6 @@ from beanie import Document
3
3
  from pydantic import Field
4
4
 
5
5
 
6
- class InternalBaseModel(Document):
6
+ class InternalBaseDocument(Document):
7
7
  create_time: datetime = Field(default_factory=datetime.utcnow)
8
8
  update_time: datetime = Field(default_factory=datetime.utcnow)
internal/model/operate.py CHANGED
@@ -1,10 +1,10 @@
1
1
  from typing import Optional
2
2
 
3
- from .base_model import InternalBaseModel
4
3
  from deepdiff import DeepDiff
4
+ from pydantic import BaseModel
5
5
 
6
6
 
7
- class Operate:
7
+ class Operate(BaseModel):
8
8
  add: Optional[dict] = None
9
9
  remove: Optional[dict] = None
10
10
  change: Optional[dict] = None
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: internal
3
- Version: 0.1.13
3
+ Version: 0.1.14
4
4
  Summary:
5
5
  Author: Ray
6
6
  Author-email: ray@cruisys.com
@@ -13,9 +13,9 @@ internal/http/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
13
13
  internal/http/requests.py,sha256=BZPlrfNbxO2-fOiIQxioX9qwiYlBsfwMF2tJN-AnOcE,502
14
14
  internal/http/responses.py,sha256=rYXj9FfFWn9yG8RrBsf_YaOLnzGPP6lgQ2bIVqLckr4,962
15
15
  internal/model/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
16
- internal/model/base_model.py,sha256=lr2vNKFIJFX--wJutMMD6iSuIg2P07V0-sicxtPWyow,256
17
- internal/model/operate.py,sha256=5ZVoG3BJZgRP678Gl-jtHmUUtr_4gf8zdt9feqz7hOY,948
16
+ internal/model/base_model.py,sha256=yUu8YNG29AIBDYRApYH3209LLIX_vWndYxLKBjVmVl8,259
17
+ internal/model/operate.py,sha256=cSY_9Op_UGaHtNHBHpyRnTtmjyKH31mCV3WHunbTSXY,948
18
18
  internal/utils.py,sha256=tDas83c_tDsWHBDMa-m3f3HXYbmel8kif8TWdLBr6LU,1440
19
- internal-0.1.13.dist-info/METADATA,sha256=vB8gNNQfiDVJyVJ_Ip2nYBaDzG29iLLdXpxPtEKqtfw,622
20
- internal-0.1.13.dist-info/WHEEL,sha256=FMvqSimYX_P7y0a7UY-_Mc83r5zkBZsCYPm7Lr0Bsq4,88
21
- internal-0.1.13.dist-info/RECORD,,
19
+ internal-0.1.14.dist-info/METADATA,sha256=hjeYIyu3NQj3F4VV47zf3xhX3GX2mLWQyxjejsOmQz0,622
20
+ internal-0.1.14.dist-info/WHEEL,sha256=FMvqSimYX_P7y0a7UY-_Mc83r5zkBZsCYPm7Lr0Bsq4,88
21
+ internal-0.1.14.dist-info/RECORD,,