bosdyn-scout 4.0.0__py3-none-any.whl → 4.0.1__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.
bosdyn/scout/client.py CHANGED
@@ -8,6 +8,7 @@
8
8
  to send HTTPs requests to a number of REStful endpoints using the Requests library.
9
9
  """
10
10
  from collections.abc import Iterable
11
+ from typing import Dict
11
12
 
12
13
  import requests
13
14
  from deprecated.sphinx import deprecated
@@ -564,9 +565,9 @@ class ScoutClient():
564
565
  def post_calendar_event(self, nickname: str = None, time_ms: int = None, repeat_ms: int = None,
565
566
  mission_id: str = None, force_acquire_estop: bool = None,
566
567
  require_docked: bool = None, schedule_name: str = None,
567
- blackout_times: Iterable[dict[str:int]] = None,
568
- disable_reason: str = None, event_id: str = None,
569
- **kwargs) -> requests.Response:
568
+ blackout_times: Iterable[Dict[str,
569
+ int]] = None, disable_reason: str = None,
570
+ event_id: str = None, **kwargs) -> requests.Response:
570
571
  """ This function serves two purposes. It creates a new calendar event on Scout using the following arguments
571
572
  when Event ID is not specified. When the Event ID associated with a pre-existing calendar event is specified,
572
573
  the function overwrites the attributes of the pre-existing calendar event.
bosdyn/scout/utils.py CHANGED
@@ -9,6 +9,7 @@ import datetime
9
9
  import getpass
10
10
  import os
11
11
  import sys
12
+ from typing import Dict, List
12
13
 
13
14
  from deprecated.sphinx import deprecated
14
15
 
@@ -45,7 +46,7 @@ def get_credentials() -> [str, str]:
45
46
  'Scout has been renamed to Orbit. Please, use bosdyn-orbit package instead of bosdyn-scout.',
46
47
  version='4.0.0', action="always")
47
48
  def get_latest_created_at_for_run_events(scout_client: 'bosdyn.scout.client.ScoutClient',
48
- params: dict = {}) -> datetime.datetime:
49
+ params: Dict = {}) -> datetime.datetime:
49
50
  """ Given a dictionary of query params, returns the max created at time for run events
50
51
 
51
52
  Args:
@@ -72,7 +73,7 @@ def get_latest_created_at_for_run_events(scout_client: 'bosdyn.scout.client.Scou
72
73
  'Scout has been renamed to Orbit. Please, use bosdyn-orbit package instead of bosdyn-scout.',
73
74
  version='4.0.0', action="always")
74
75
  def get_latest_run_capture_resources(scout_client: 'bosdyn.scout.client.ScoutClient',
75
- params: dict = {}) -> list:
76
+ params: Dict = {}) -> List:
76
77
  """ Given a dictionary of query params, returns the latest run capture resources in json format
77
78
 
78
79
  Args:
@@ -95,7 +96,7 @@ def get_latest_run_capture_resources(scout_client: 'bosdyn.scout.client.ScoutCli
95
96
  'Scout has been renamed to Orbit. Please, use bosdyn-orbit package instead of bosdyn-scout.',
96
97
  version='4.0.0', action="always")
97
98
  def get_latest_created_at_for_run_captures(scout_client: 'bosdyn.scout.client.ScoutClient',
98
- params: dict = {}) -> datetime.datetime:
99
+ params: Dict = {}) -> datetime.datetime:
99
100
  """ Given a dictionary of query params, returns the max created at time for run captures
100
101
 
101
102
  Args:
@@ -122,7 +123,7 @@ def get_latest_created_at_for_run_captures(scout_client: 'bosdyn.scout.client.Sc
122
123
  'Scout has been renamed to Orbit. Please, use bosdyn-orbit package instead of bosdyn-scout.',
123
124
  version='4.0.0', action="always")
124
125
  def get_latest_run_resource(scout_client: 'bosdyn.scout.client.ScoutClient',
125
- params: dict = {}) -> list:
126
+ params: Dict = {}) -> List:
126
127
  """ Given a dictionary of query params, returns the latest run resource in json format
127
128
 
128
129
  Args:
@@ -147,7 +148,7 @@ def get_latest_run_resource(scout_client: 'bosdyn.scout.client.ScoutClient',
147
148
  'Scout has been renamed to Orbit. Please, use bosdyn-orbit package instead of bosdyn-scout.',
148
149
  version='4.0.0', action="always")
149
150
  def get_latest_run_in_progress(scout_client: 'bosdyn.scout.client.ScoutClient',
150
- params: dict = {}) -> list:
151
+ params: Dict = {}) -> List:
151
152
  """ Given a dictionary of query params, returns the latest running resource in json format
152
153
 
153
154
  Args:
@@ -175,7 +176,7 @@ def get_latest_run_in_progress(scout_client: 'bosdyn.scout.client.ScoutClient',
175
176
  'Scout has been renamed to Orbit. Please, use bosdyn-orbit package instead of bosdyn-scout.',
176
177
  version='4.0.0', action="always")
177
178
  def get_latest_end_time_for_runs(scout_client: 'bosdyn.scout.client.ScoutClient',
178
- params: dict = {}) -> datetime.datetime:
179
+ params: Dict = {}) -> datetime.datetime:
179
180
  """ Given a dictionary of query params, returns the max end time for runs
180
181
 
181
182
  Args:
@@ -204,7 +205,7 @@ def get_latest_end_time_for_runs(scout_client: 'bosdyn.scout.client.ScoutClient'
204
205
  'Scout has been renamed to Orbit. Please, use bosdyn-orbit package instead of bosdyn-scout.',
205
206
  version='4.0.0', action="always")
206
207
  def data_capture_urls_from_run_events(scout_client: 'bosdyn.scout.client.ScoutClient',
207
- run_events: list, list_of_channel_names: list = None) -> list:
208
+ run_events: List, list_of_channel_names: List = None) -> List:
208
209
  """ Given run events and list of desired channel names, returns the list of data capture urls
209
210
 
210
211
  Args:
@@ -236,8 +237,8 @@ def data_capture_urls_from_run_events(scout_client: 'bosdyn.scout.client.ScoutCl
236
237
  'Scout has been renamed to Orbit. Please, use bosdyn-orbit package instead of bosdyn-scout.',
237
238
  version='4.0.0', action="always")
238
239
  def data_capture_url_from_run_capture_resources(scout_client: 'bosdyn.scout.client.ScoutClient',
239
- run_capture_resources: list,
240
- list_of_channel_names: list = None) -> list:
240
+ run_capture_resources: List,
241
+ list_of_channel_names: List = None) -> List:
241
242
  """ Given run capture resources and list of desired channel names, returns the list of data capture urls
242
243
 
243
244
  Args:
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: bosdyn-scout
3
- Version: 4.0.0
3
+ Version: 4.0.1
4
4
  Summary: Boston Dynamics API Scout Client
5
5
  Home-page: https://dev.bostondynamics.com/docs/scout/
6
6
  Author: Boston Dynamics
@@ -18,7 +18,7 @@ Requires-Python: >=3.6
18
18
  Description-Content-Type: text/markdown
19
19
  Requires-Dist: requests
20
20
  Requires-Dist: Deprecated (~=1.2.10)
21
- Requires-Dist: bosdyn-orbit (==4.0.0)
21
+ Requires-Dist: bosdyn-orbit (==4.0.1)
22
22
 
23
23
  <!--
24
24
  Copyright (c) 2023 Boston Dynamics, Inc. All rights reserved.
@@ -0,0 +1,9 @@
1
+ bosdyn/__init__.py,sha256=CMQioQKK1NlMk3kZuY49b_Aw-JyvDeOtuqOCAul1I0s,330
2
+ bosdyn/scout/__init__.py,sha256=1qUAbnMKYlERYZvxtGz4ThjYef7Tx-ZBclLoVE_ecjU,265
3
+ bosdyn/scout/client.py,sha256=qjjtItY1gP7w9k2mZl3LFq5q0fBLjM_F8Btj7cjSaiw,42751
4
+ bosdyn/scout/exceptions.py,sha256=1qCD8Nz6xDZAnVf0rSBNLBvQwzxY-ruF-wJA9WqCVkE,518
5
+ bosdyn/scout/utils.py,sha256=ZwP9Z9qcEMnilCqG-2wHO743lpP4qUt89u3d7PU0FUE,12283
6
+ bosdyn_scout-4.0.1.dist-info/METADATA,sha256=TaVHz7pl4zCnipPo-serwONqehiPvrT7E0Wiv3fz40E,1932
7
+ bosdyn_scout-4.0.1.dist-info/WHEEL,sha256=AtBG6SXL3KF_v0NxLf0ehyVOh0cold-JbJYXNGorC6Q,92
8
+ bosdyn_scout-4.0.1.dist-info/top_level.txt,sha256=an2OWgx1ej2jFjmBjPWNQ68ZglvUfKhmXWW-WhTtDmA,7
9
+ bosdyn_scout-4.0.1.dist-info/RECORD,,
@@ -1,9 +0,0 @@
1
- bosdyn/__init__.py,sha256=CMQioQKK1NlMk3kZuY49b_Aw-JyvDeOtuqOCAul1I0s,330
2
- bosdyn/scout/__init__.py,sha256=1qUAbnMKYlERYZvxtGz4ThjYef7Tx-ZBclLoVE_ecjU,265
3
- bosdyn/scout/client.py,sha256=PmI3HzMDJKduQXq-ie0Hb2T7uP0Zf6LIOFu0e8qX9-A,42696
4
- bosdyn/scout/exceptions.py,sha256=1qCD8Nz6xDZAnVf0rSBNLBvQwzxY-ruF-wJA9WqCVkE,518
5
- bosdyn/scout/utils.py,sha256=oXdqHgyVcjGD2LAB-dW_bgXfgGQWpDQLF25MUi9fjTU,12253
6
- bosdyn_scout-4.0.0.dist-info/METADATA,sha256=jaJk_xiVDF9QX3oGdcwo-a0zuIP4gbnNip_6HAAA2_Q,1932
7
- bosdyn_scout-4.0.0.dist-info/WHEEL,sha256=AtBG6SXL3KF_v0NxLf0ehyVOh0cold-JbJYXNGorC6Q,92
8
- bosdyn_scout-4.0.0.dist-info/top_level.txt,sha256=an2OWgx1ej2jFjmBjPWNQ68ZglvUfKhmXWW-WhTtDmA,7
9
- bosdyn_scout-4.0.0.dist-info/RECORD,,