featrixsphere 0.2.1232__tar.gz → 0.2.1233__tar.gz
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.
- {featrixsphere-0.2.1232/featrixsphere.egg-info → featrixsphere-0.2.1233}/PKG-INFO +1 -1
- featrixsphere-0.2.1233/VERSION +1 -0
- {featrixsphere-0.2.1232 → featrixsphere-0.2.1233}/featrixsphere/__init__.py +1 -1
- {featrixsphere-0.2.1232 → featrixsphere-0.2.1233}/featrixsphere/client.py +15 -0
- {featrixsphere-0.2.1232 → featrixsphere-0.2.1233/featrixsphere.egg-info}/PKG-INFO +1 -1
- featrixsphere-0.2.1232/VERSION +0 -1
- {featrixsphere-0.2.1232 → featrixsphere-0.2.1233}/MANIFEST.in +0 -0
- {featrixsphere-0.2.1232 → featrixsphere-0.2.1233}/README.md +0 -0
- {featrixsphere-0.2.1232 → featrixsphere-0.2.1233}/featrixsphere/cli.py +0 -0
- {featrixsphere-0.2.1232 → featrixsphere-0.2.1233}/featrixsphere/test_client.py +0 -0
- {featrixsphere-0.2.1232 → featrixsphere-0.2.1233}/featrixsphere.egg-info/SOURCES.txt +0 -0
- {featrixsphere-0.2.1232 → featrixsphere-0.2.1233}/featrixsphere.egg-info/dependency_links.txt +0 -0
- {featrixsphere-0.2.1232 → featrixsphere-0.2.1233}/featrixsphere.egg-info/entry_points.txt +0 -0
- {featrixsphere-0.2.1232 → featrixsphere-0.2.1233}/featrixsphere.egg-info/not-zip-safe +0 -0
- {featrixsphere-0.2.1232 → featrixsphere-0.2.1233}/featrixsphere.egg-info/requires.txt +0 -0
- {featrixsphere-0.2.1232 → featrixsphere-0.2.1233}/featrixsphere.egg-info/top_level.txt +0 -0
- {featrixsphere-0.2.1232 → featrixsphere-0.2.1233}/requirements.txt +0 -0
- {featrixsphere-0.2.1232 → featrixsphere-0.2.1233}/setup.cfg +0 -0
- {featrixsphere-0.2.1232 → featrixsphere-0.2.1233}/setup.py +0 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
0.2.1233
|
|
@@ -1748,6 +1748,21 @@ class FeatrixSphereClient:
|
|
|
1748
1748
|
response = self._make_request("POST", "/compute/upload_file", files=files)
|
|
1749
1749
|
|
|
1750
1750
|
response_data = response.json()
|
|
1751
|
+
|
|
1752
|
+
# Handle S3 upload response (returns s3_url and filename)
|
|
1753
|
+
if 's3_url' in response_data:
|
|
1754
|
+
# S3 upload - extract filename from key or use returned filename
|
|
1755
|
+
filename = response_data.get('filename')
|
|
1756
|
+
if not filename:
|
|
1757
|
+
# Extract from S3 key if filename not provided
|
|
1758
|
+
s3_key = response_data.get('key', '')
|
|
1759
|
+
if s3_key:
|
|
1760
|
+
filename = PathLib(s3_key).name
|
|
1761
|
+
if not filename:
|
|
1762
|
+
raise ValueError("Server did not return filename in S3 upload response")
|
|
1763
|
+
return filename
|
|
1764
|
+
|
|
1765
|
+
# Handle local file upload response (returns filename)
|
|
1751
1766
|
filename = response_data.get('filename')
|
|
1752
1767
|
if not filename:
|
|
1753
1768
|
raise ValueError("Server did not return filename in upload response")
|
featrixsphere-0.2.1232/VERSION
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
0.2.1232
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{featrixsphere-0.2.1232 → featrixsphere-0.2.1233}/featrixsphere.egg-info/dependency_links.txt
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|