unitysvc-services 0.1.10__py3-none-any.whl → 0.1.11__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 unitysvc-services might be problematic. Click here for more details.
- unitysvc_services/api.py +2 -2
- unitysvc_services/interactive_prompt.py +1129 -0
- unitysvc_services/populate.py +11 -4
- unitysvc_services/publisher.py +225 -97
- unitysvc_services/scaffold.py +143 -66
- unitysvc_services/test.py +21 -43
- {unitysvc_services-0.1.10.dist-info → unitysvc_services-0.1.11.dist-info}/METADATA +1 -1
- {unitysvc_services-0.1.10.dist-info → unitysvc_services-0.1.11.dist-info}/RECORD +12 -11
- {unitysvc_services-0.1.10.dist-info → unitysvc_services-0.1.11.dist-info}/WHEEL +0 -0
- {unitysvc_services-0.1.10.dist-info → unitysvc_services-0.1.11.dist-info}/entry_points.txt +0 -0
- {unitysvc_services-0.1.10.dist-info → unitysvc_services-0.1.11.dist-info}/licenses/LICENSE +0 -0
- {unitysvc_services-0.1.10.dist-info → unitysvc_services-0.1.11.dist-info}/top_level.txt +0 -0
unitysvc_services/api.py
CHANGED
|
@@ -88,7 +88,7 @@ class UnitySvcAPI:
|
|
|
88
88
|
stdout, stderr = await asyncio.wait_for(proc.communicate(), timeout=30.0)
|
|
89
89
|
|
|
90
90
|
if proc.returncode != 0:
|
|
91
|
-
error_msg = stderr.decode().strip() if stderr else "
|
|
91
|
+
error_msg = stderr.decode().strip() if stderr else "curl command failed"
|
|
92
92
|
raise RuntimeError(f"Curl error: {error_msg}")
|
|
93
93
|
|
|
94
94
|
# Parse response: last line is status code, rest is body
|
|
@@ -165,7 +165,7 @@ class UnitySvcAPI:
|
|
|
165
165
|
stdout, stderr = await asyncio.wait_for(proc.communicate(), timeout=30.0)
|
|
166
166
|
|
|
167
167
|
if proc.returncode != 0:
|
|
168
|
-
error_msg = stderr.decode().strip() if stderr else "
|
|
168
|
+
error_msg = stderr.decode().strip() if stderr else "curl command failed"
|
|
169
169
|
raise RuntimeError(f"Curl error: {error_msg}")
|
|
170
170
|
|
|
171
171
|
# Parse response: last line is status code, rest is body
|