solax-py-library 0.1.0.5__py3-none-any.whl → 0.1.0.6__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.
@@ -1,6 +1,6 @@
1
1
  from enum import Enum
2
2
  from pydantic import BaseModel
3
- from typing import Optional
3
+ from typing import Optional, Union
4
4
 
5
5
  from solax_py_library.upload.types.ftp import FTPData
6
6
 
@@ -10,4 +10,5 @@ class UploadType(str, Enum):
10
10
 
11
11
 
12
12
  class UploadData(BaseModel):
13
- ftp_data: Optional[FTPData]
13
+ data: Optional[Union[FTPData]]
14
+ upload_type: Optional[UploadType]
@@ -2,7 +2,7 @@ import os
2
2
  from enum import Enum
3
3
  from typing import Any, Optional
4
4
 
5
- from pydantic import BaseModel
5
+ from pydantic import BaseModel, Field
6
6
 
7
7
 
8
8
  class FTPFileType(str, Enum):
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: solax-py-library
3
- Version: 0.1.0.5
3
+ Version: 0.1.0.6
4
4
  Summary: some common tool
5
5
  Author: shenlvyu
6
6
  Author-email: 13296718439@163.com
@@ -15,8 +15,8 @@ solax_py_library/upload/errors/upload_error.py,sha256=9pCZzR_y3-VkBWSs5w7mMHYFRJ
15
15
  solax_py_library/upload/test/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
16
16
  solax_py_library/upload/test/test_ftp.py,sha256=mJcYdroFLpI82t2-8IVGXNYGWB9TVJK723uaQFcTFr4,856
17
17
  solax_py_library/upload/types/__init__.py,sha256=og9KBpYbcs36_S1izURj3vyHeuNOLJQrD9GpxK_JJaw,244
18
- solax_py_library/upload/types/client.py,sha256=SZW1Dt-WwtDyzePB7hGq6vruXcKTdIwwd0ZqyqMsmHc,246
19
- solax_py_library/upload/types/ftp.py,sha256=DZc7LJ66kJnTRrU9CbVh8P5pBWzfL-SYDFKZTDGgiqA,537
20
- solax_py_library-0.1.0.5.dist-info/METADATA,sha256=MrFggUnQ6PeUceHRlC669aDE0U32Kuk-fv2hYBMeXiQ,670
21
- solax_py_library-0.1.0.5.dist-info/WHEEL,sha256=Nq82e9rUAnEjt98J6MlVmMCZb-t9cYE2Ir1kpBmnWfs,88
22
- solax_py_library-0.1.0.5.dist-info/RECORD,,
18
+ solax_py_library/upload/types/client.py,sha256=PEUG7pulvwEb6NS6yiu5yYHowNI8UrUDygawfAkPIlo,294
19
+ solax_py_library/upload/types/ftp.py,sha256=JN2KD2WPZGvPXh30p15rLY9AUzeWUXkeSIdb4CesdAw,544
20
+ solax_py_library-0.1.0.6.dist-info/METADATA,sha256=zg5vGI7s2GvmQqJ4BYlfpOE3PoBC0pf5RPyUIzA6bZE,670
21
+ solax_py_library-0.1.0.6.dist-info/WHEEL,sha256=Nq82e9rUAnEjt98J6MlVmMCZb-t9cYE2Ir1kpBmnWfs,88
22
+ solax_py_library-0.1.0.6.dist-info/RECORD,,