evo-files 0.2.1__py3-none-any.whl → 0.2.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.
- evo/files/io.py +11 -1
- {evo_files-0.2.1.dist-info → evo_files-0.2.2.dist-info}/METADATA +1 -1
- {evo_files-0.2.1.dist-info → evo_files-0.2.2.dist-info}/RECORD +5 -5
- {evo_files-0.2.1.dist-info → evo_files-0.2.2.dist-info}/WHEEL +0 -0
- {evo_files-0.2.1.dist-info → evo_files-0.2.2.dist-info}/licenses/LICENSE.md +0 -0
evo/files/io.py
CHANGED
|
@@ -109,9 +109,19 @@ class FileAPIUpload(Upload, _FileIOMixin):
|
|
|
109
109
|
self._id = file_id
|
|
110
110
|
self._version_id = version_id
|
|
111
111
|
|
|
112
|
+
@property
|
|
113
|
+
def file_id(self) -> UUID:
|
|
114
|
+
"""The ID of the file that is being uploaded."""
|
|
115
|
+
return self._id
|
|
116
|
+
|
|
117
|
+
@property
|
|
118
|
+
def version_id(self) -> str:
|
|
119
|
+
"""The ID of the version that will be created after the upload completes."""
|
|
120
|
+
return self._version_id
|
|
121
|
+
|
|
112
122
|
@property
|
|
113
123
|
def label(self) -> str:
|
|
114
|
-
"""The file and version ID
|
|
124
|
+
"""The file and version ID of the file that is being uploaded."""
|
|
115
125
|
return f"{self._id}?version_id={self._version_id}"
|
|
116
126
|
|
|
117
127
|
async def get_upload_url(self) -> str:
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: evo-files
|
|
3
|
-
Version: 0.2.
|
|
3
|
+
Version: 0.2.2
|
|
4
4
|
Summary: Python SDK for using the Seequent Evo File API
|
|
5
5
|
Project-URL: Source, https://github.com/SeequentEvo/evo-python-sdk
|
|
6
6
|
Project-URL: Tracker, https://github.com/SeequentEvo/evo-python-sdk/issues
|
|
@@ -2,13 +2,13 @@ evo/files/__init__.py,sha256=jX2_a4BNg92QZFNEXaBpvpcSgbqRyOXrWx1JIkLUZqk,887
|
|
|
2
2
|
evo/files/_model_config.py,sha256=612yrPQyY-vquEboZdmSWkt8nT2ttbfBy476FyruV30,827
|
|
3
3
|
evo/files/client.py,sha256=-zfbeym3l9_3t-OjenWj-1k5ZVpLtpsNdmTiMi3PUVU,12847
|
|
4
4
|
evo/files/data.py,sha256=J9hieUY6LAeYhmIpRorMNcgjsYuSsO5R7_s1qnDAIlM,2380
|
|
5
|
-
evo/files/io.py,sha256=
|
|
5
|
+
evo/files/io.py,sha256=wlHEXusTOhSRLCU1FWUD4q0p7xiav6VPVEWNP4I40xk,6689
|
|
6
6
|
evo/files/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
7
7
|
evo/files/endpoints/__init__.py,sha256=UE77QavwbhokEtz8XmDl2p-z5fpsghraTgboDscq76A,1441
|
|
8
8
|
evo/files/endpoints/models.py,sha256=rz7wqkhfen9_wqQqj0mEUbKKnkA0AYniEe9QnoigdPY,4640
|
|
9
9
|
evo/files/endpoints/api/__init__.py,sha256=dHngHmRPwy-Kixoz7BP4ur4qzV4z9T2e8ccTqBtpuio,650
|
|
10
10
|
evo/files/endpoints/api/file_v2_api.py,sha256=mP3EiKbgmpw_Z5bzWmu-Fi3JuP9CsUpgN-9isywry3I,34127
|
|
11
|
-
evo_files-0.2.
|
|
12
|
-
evo_files-0.2.
|
|
13
|
-
evo_files-0.2.
|
|
14
|
-
evo_files-0.2.
|
|
11
|
+
evo_files-0.2.2.dist-info/METADATA,sha256=KWkQ7dT000cXImJ5L69chwnbD8gxRDhMp5suWHCdl_M,3703
|
|
12
|
+
evo_files-0.2.2.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
|
|
13
|
+
evo_files-0.2.2.dist-info/licenses/LICENSE.md,sha256=HcFeRdOI-VP5WPEymQerlwLvEj2z_1Yh66RkN-wN7Oc,10778
|
|
14
|
+
evo_files-0.2.2.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|