remotivelabs-cli 0.0.4__py3-none-any.whl → 0.0.5__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.
cli/cloud/recordings.py CHANGED
@@ -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
- 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}')
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()
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: remotivelabs-cli
3
- Version: 0.0.4
3
+ Version: 0.0.5
4
4
  Summary:
5
5
  Author: Johan Rask
6
6
  Author-email: johan.rask@remotivelabs.com
@@ -17,7 +17,7 @@ cli/cloud/brokers.py,sha256=f1Ru77DP57w9bGBiMvrzkWcjC_nc46tuieqK1dBczvU,4151
17
17
  cli/cloud/cloud_cli.py,sha256=RH2H8nlhcs-FydbMRzkUoRc6EQseZUJiXGoXe3I-wgI,1452
18
18
  cli/cloud/configs.py,sha256=2qPP4XxVO4deVT0srdP4FN6IRj4Ig4i9229thtfO710,3507
19
19
  cli/cloud/projects.py,sha256=w5Oqie80e59XrMNiIxIUIrlt3frYOyOpCbalkqZR7RQ,1366
20
- cli/cloud/recordings.py,sha256=X1B2DWWYpYARq6y-rTjdKKefpi5EFviMM5WuZmK3zZA,23491
20
+ cli/cloud/recordings.py,sha256=D0CRFukwJr363Jee7htDjg24e_kvJdJbvVkld9SAanM,23451
21
21
  cli/cloud/rest_helper.py,sha256=s7V-v0r7vU_hPP9vrB9usJnTGektNDbyzEy2o0ScNJE,4356
22
22
  cli/cloud/sample_recordings.py,sha256=nObf1AOcooExJEomKhPAvUYi-zXjq2sQYvqfAH-jGmI,1037
23
23
  cli/cloud/service_account_tokens.py,sha256=24GebX1JE3ATHfUGSDTZzcH3qmeJ9x34VSpJYGNX_hM,2322
@@ -33,8 +33,8 @@ cli/tools/__init__.py,sha256=AbpHGcgLb-kRsJGnwFEktk7uzpZOCcBY74-YBdrKVGs,1
33
33
  cli/tools/can/__init__.py,sha256=AbpHGcgLb-kRsJGnwFEktk7uzpZOCcBY74-YBdrKVGs,1
34
34
  cli/tools/can/can.py,sha256=_W3p9EIwNNTRC3iX41TBN6nDa7smMXCAlvDjLxXblxk,2383
35
35
  cli/tools/tools.py,sha256=LwQdWMcJ19pCyKUsVfSB2B3R6ui61NxxFWP0Nrnd5Jk,198
36
- remotivelabs_cli-0.0.4.dist-info/LICENSE,sha256=qDPP_yfuv1fF-u7EfexN-cN3M8aFgGVndGhGLovLKz0,608
37
- remotivelabs_cli-0.0.4.dist-info/METADATA,sha256=OwakALqF7X01NoOoPh62NWplL_VxRBtj8V6qmMVB77o,4398
38
- remotivelabs_cli-0.0.4.dist-info/WHEEL,sha256=FMvqSimYX_P7y0a7UY-_Mc83r5zkBZsCYPm7Lr0Bsq4,88
39
- remotivelabs_cli-0.0.4.dist-info/entry_points.txt,sha256=lvDhPgagLqW_KTnLPCwKSqfYlEp-1uYVosRiPjsVj10,45
40
- remotivelabs_cli-0.0.4.dist-info/RECORD,,
36
+ remotivelabs_cli-0.0.5.dist-info/LICENSE,sha256=qDPP_yfuv1fF-u7EfexN-cN3M8aFgGVndGhGLovLKz0,608
37
+ remotivelabs_cli-0.0.5.dist-info/METADATA,sha256=z6i2qlKlD7E9R-fcmUSty--eVMPcZ1e6Wosn0atSP-g,4398
38
+ remotivelabs_cli-0.0.5.dist-info/WHEEL,sha256=FMvqSimYX_P7y0a7UY-_Mc83r5zkBZsCYPm7Lr0Bsq4,88
39
+ remotivelabs_cli-0.0.5.dist-info/entry_points.txt,sha256=lvDhPgagLqW_KTnLPCwKSqfYlEp-1uYVosRiPjsVj10,45
40
+ remotivelabs_cli-0.0.5.dist-info/RECORD,,