remotivelabs-cli 0.0.4a0__tar.gz → 0.0.5__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.
- {remotivelabs_cli-0.0.4a0 → remotivelabs_cli-0.0.5}/PKG-INFO +1 -1
- {remotivelabs_cli-0.0.4a0 → remotivelabs_cli-0.0.5}/cli/cloud/recordings.py +10 -10
- {remotivelabs_cli-0.0.4a0 → remotivelabs_cli-0.0.5}/cli/tools/can/can.py +0 -1
- {remotivelabs_cli-0.0.4a0 → remotivelabs_cli-0.0.5}/pyproject.toml +1 -1
- {remotivelabs_cli-0.0.4a0 → remotivelabs_cli-0.0.5}/LICENSE +0 -0
- {remotivelabs_cli-0.0.4a0 → remotivelabs_cli-0.0.5}/README.md +0 -0
- {remotivelabs_cli-0.0.4a0 → remotivelabs_cli-0.0.5}/cli/__about__.py +0 -0
- {remotivelabs_cli-0.0.4a0 → remotivelabs_cli-0.0.5}/cli/__init__.py +0 -0
- {remotivelabs_cli-0.0.4a0 → remotivelabs_cli-0.0.5}/cli/broker/brokers.py +0 -0
- {remotivelabs_cli-0.0.4a0 → remotivelabs_cli-0.0.5}/cli/broker/export.py +0 -0
- {remotivelabs_cli-0.0.4a0 → remotivelabs_cli-0.0.5}/cli/broker/files.py +0 -0
- {remotivelabs_cli-0.0.4a0 → remotivelabs_cli-0.0.5}/cli/broker/lib/__about__.py +0 -0
- {remotivelabs_cli-0.0.4a0 → remotivelabs_cli-0.0.5}/cli/broker/lib/broker.py +0 -0
- {remotivelabs_cli-0.0.4a0 → remotivelabs_cli-0.0.5}/cli/broker/lib/errors.py +0 -0
- {remotivelabs_cli-0.0.4a0 → remotivelabs_cli-0.0.5}/cli/broker/playback.py +0 -0
- {remotivelabs_cli-0.0.4a0 → remotivelabs_cli-0.0.5}/cli/broker/record.py +0 -0
- {remotivelabs_cli-0.0.4a0 → remotivelabs_cli-0.0.5}/cli/broker/scripting.py +0 -0
- {remotivelabs_cli-0.0.4a0 → remotivelabs_cli-0.0.5}/cli/broker/signals.py +0 -0
- {remotivelabs_cli-0.0.4a0 → remotivelabs_cli-0.0.5}/cli/cloud/__init__.py +0 -0
- {remotivelabs_cli-0.0.4a0 → remotivelabs_cli-0.0.5}/cli/cloud/auth.py +0 -0
- {remotivelabs_cli-0.0.4a0 → remotivelabs_cli-0.0.5}/cli/cloud/auth_tokens.py +0 -0
- {remotivelabs_cli-0.0.4a0 → remotivelabs_cli-0.0.5}/cli/cloud/brokers.py +0 -0
- {remotivelabs_cli-0.0.4a0 → remotivelabs_cli-0.0.5}/cli/cloud/cloud_cli.py +0 -0
- {remotivelabs_cli-0.0.4a0 → remotivelabs_cli-0.0.5}/cli/cloud/configs.py +0 -0
- {remotivelabs_cli-0.0.4a0 → remotivelabs_cli-0.0.5}/cli/cloud/projects.py +0 -0
- {remotivelabs_cli-0.0.4a0 → remotivelabs_cli-0.0.5}/cli/cloud/rest_helper.py +0 -0
- {remotivelabs_cli-0.0.4a0 → remotivelabs_cli-0.0.5}/cli/cloud/sample_recordings.py +0 -0
- {remotivelabs_cli-0.0.4a0 → remotivelabs_cli-0.0.5}/cli/cloud/service_account_tokens.py +0 -0
- {remotivelabs_cli-0.0.4a0 → remotivelabs_cli-0.0.5}/cli/cloud/service_accounts.py +0 -0
- {remotivelabs_cli-0.0.4a0 → remotivelabs_cli-0.0.5}/cli/connect/__init__.py +0 -0
- {remotivelabs_cli-0.0.4a0 → remotivelabs_cli-0.0.5}/cli/connect/connect.py +0 -0
- {remotivelabs_cli-0.0.4a0 → remotivelabs_cli-0.0.5}/cli/connect/protopie/protopie.py +0 -0
- {remotivelabs_cli-0.0.4a0 → remotivelabs_cli-0.0.5}/cli/remotive.py +0 -0
- {remotivelabs_cli-0.0.4a0 → remotivelabs_cli-0.0.5}/cli/requirements.txt +0 -0
- {remotivelabs_cli-0.0.4a0 → remotivelabs_cli-0.0.5}/cli/settings.py +0 -0
- {remotivelabs_cli-0.0.4a0 → remotivelabs_cli-0.0.5}/cli/test/test_simple.py +0 -0
- {remotivelabs_cli-0.0.4a0 → remotivelabs_cli-0.0.5}/cli/tools/__init__.py +0 -0
- {remotivelabs_cli-0.0.4a0 → remotivelabs_cli-0.0.5}/cli/tools/can/__init__.py +0 -0
- {remotivelabs_cli-0.0.4a0 → remotivelabs_cli-0.0.5}/cli/tools/tools.py +0 -0
@@ -250,16 +250,16 @@ def upload(
|
|
250
250
|
body=json.dumps({'dbcFile': signal_database}))
|
251
251
|
else:
|
252
252
|
r = rest.handle_post(f"/api/project/{project}/files/recording/{filename}", return_response=True)
|
253
|
-
|
254
|
-
|
255
|
-
|
256
|
-
|
257
|
-
|
258
|
-
|
259
|
-
|
260
|
-
|
261
|
-
|
262
|
-
|
253
|
+
headers = {}
|
254
|
+
# TODO - Fix correct content-type
|
255
|
+
headers["content-type"] = "application/x-www-form-urlencoded"
|
256
|
+
with open(path, 'rb') as f:
|
257
|
+
response = requests.put(r.text, f, headers=headers)
|
258
|
+
if response.status_code >= 200 and response.status_code < 300:
|
259
|
+
print("File successfully uploaded, please run 'remotive cloud recordings list' "
|
260
|
+
"to verify that the recording was successfully processed")
|
261
|
+
else:
|
262
|
+
rest.err_console.print(f':boom: [bold red]Got status code[/bold red]: {response.status_code}')
|
263
263
|
|
264
264
|
|
265
265
|
@app.command()
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|