my-PV 0.0.1.dev4__tar.gz → 0.0.1.dev5__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.
- {my_pv-0.0.1.dev4 → my_pv-0.0.1.dev5}/PKG-INFO +1 -1
- {my_pv-0.0.1.dev4 → my_pv-0.0.1.dev5}/my_pv/__init__.py +6 -6
- {my_pv-0.0.1.dev4 → my_pv-0.0.1.dev5}/my_pv/_version.py +2 -2
- {my_pv-0.0.1.dev4 → my_pv-0.0.1.dev5}/.github/dependabot.yml +0 -0
- {my_pv-0.0.1.dev4 → my_pv-0.0.1.dev5}/.github/workflows/check-format.yml +0 -0
- {my_pv-0.0.1.dev4 → my_pv-0.0.1.dev5}/.github/workflows/pypi-publish.yml +0 -0
- {my_pv-0.0.1.dev4 → my_pv-0.0.1.dev5}/.gitignore +0 -0
- {my_pv-0.0.1.dev4 → my_pv-0.0.1.dev5}/LICENSE +0 -0
- {my_pv-0.0.1.dev4 → my_pv-0.0.1.dev5}/README.md +0 -0
- {my_pv-0.0.1.dev4 → my_pv-0.0.1.dev5}/my_pv/configs/000000.json +0 -0
- {my_pv-0.0.1.dev4 → my_pv-0.0.1.dev5}/my_pv/configs/140100.json +0 -0
- {my_pv-0.0.1.dev4 → my_pv-0.0.1.dev5}/my_pv/configs/160150.json +0 -0
- {my_pv-0.0.1.dev4 → my_pv-0.0.1.dev5}/my_pv/configs/160151.json +0 -0
- {my_pv-0.0.1.dev4 → my_pv-0.0.1.dev5}/my_pv/configs/160152.json +0 -0
- {my_pv-0.0.1.dev4 → my_pv-0.0.1.dev5}/my_pv/configs/200100.json +0 -0
- {my_pv-0.0.1.dev4 → my_pv-0.0.1.dev5}/my_pv/configs/200103.json +0 -0
- {my_pv-0.0.1.dev4 → my_pv-0.0.1.dev5}/my_pv/configs/200110.json +0 -0
- {my_pv-0.0.1.dev4 → my_pv-0.0.1.dev5}/my_pv/configs/200113.json +0 -0
- {my_pv-0.0.1.dev4 → my_pv-0.0.1.dev5}/my_pv/configs/200300.json +0 -0
- {my_pv-0.0.1.dev4 → my_pv-0.0.1.dev5}/my_pv/configs/200310.json +0 -0
- {my_pv-0.0.1.dev4 → my_pv-0.0.1.dev5}/my_pv/configs/210300.json +0 -0
- {my_pv-0.0.1.dev4 → my_pv-0.0.1.dev5}/my_pv/configs/210900.json +0 -0
- {my_pv-0.0.1.dev4 → my_pv-0.0.1.dev5}/my_pv/configs/__init__.py +0 -0
- {my_pv-0.0.1.dev4 → my_pv-0.0.1.dev5}/my_pv/connection.py +0 -0
- {my_pv-0.0.1.dev4 → my_pv-0.0.1.dev5}/my_pv/exceptions.py +0 -0
- {my_pv-0.0.1.dev4 → my_pv-0.0.1.dev5}/my_pv/py.typed +0 -0
- {my_pv-0.0.1.dev4 → my_pv-0.0.1.dev5}/pyproject.toml +0 -0
|
@@ -258,7 +258,7 @@ class MyPVDevice(ABC):
|
|
|
258
258
|
|
|
259
259
|
return False
|
|
260
260
|
|
|
261
|
-
def get_setup_configurations(self) -> dict:
|
|
261
|
+
def get_setup_configurations(self) -> dict[str, [str, Any]]:
|
|
262
262
|
"""Gets the configuration of the available setup parameters."""
|
|
263
263
|
setup_keys = self._setup_values.keys()
|
|
264
264
|
return {
|
|
@@ -275,7 +275,7 @@ class MyPVDevice(ABC):
|
|
|
275
275
|
and val.get("advanced", False) in [False, self.advanced]
|
|
276
276
|
}
|
|
277
277
|
|
|
278
|
-
def get_setup_configuration(self, key: str) -> dict | None:
|
|
278
|
+
def get_setup_configuration(self, key: str) -> dict[str, Any] | None:
|
|
279
279
|
return self.get_setup_configurations().get(key)
|
|
280
280
|
|
|
281
281
|
def get_setup_value(self, key: str) -> bool | float | int | str | None:
|
|
@@ -337,7 +337,7 @@ class MyPVDevice(ABC):
|
|
|
337
337
|
|
|
338
338
|
return False
|
|
339
339
|
|
|
340
|
-
def get_data_configurations(self) -> dict:
|
|
340
|
+
def get_data_configurations(self) -> dict[str, [str, Any]]:
|
|
341
341
|
"""Gets the configuration of the available device data."""
|
|
342
342
|
data_keys = self._data_values.keys()
|
|
343
343
|
data_configurations = {
|
|
@@ -360,7 +360,7 @@ class MyPVDevice(ABC):
|
|
|
360
360
|
|
|
361
361
|
return data_configurations
|
|
362
362
|
|
|
363
|
-
def get_data_configuration(self, key: str) -> dict | None:
|
|
363
|
+
def get_data_configuration(self, key: str) -> dict[str, Any] | None:
|
|
364
364
|
return self.get_data_configurations().get(key)
|
|
365
365
|
|
|
366
366
|
def get_data_value(self, key: str) -> bool | float | int | str | None:
|
|
@@ -440,7 +440,7 @@ class MyPVDevice(ABC):
|
|
|
440
440
|
"commands"
|
|
441
441
|
][command].get("advanced", False) in [False, self.advanced]
|
|
442
442
|
|
|
443
|
-
def get_command_configurations(self) -> dict:
|
|
443
|
+
def get_command_configurations(self) -> dict[str, [str, Any]]:
|
|
444
444
|
"""Gets the configuration of the available commands supported by the device."""
|
|
445
445
|
return {
|
|
446
446
|
key: val
|
|
@@ -448,7 +448,7 @@ class MyPVDevice(ABC):
|
|
|
448
448
|
if val.get("advanced", False) in [False, self.advanced]
|
|
449
449
|
}
|
|
450
450
|
|
|
451
|
-
def get_command_configuration(self, command: str) -> dict | None:
|
|
451
|
+
def get_command_configuration(self, command: str) -> dict[str, Any] | None:
|
|
452
452
|
return self.get_command_configurations().get(command)
|
|
453
453
|
|
|
454
454
|
async def send_command(
|
|
@@ -18,7 +18,7 @@ version_tuple: tuple[int | str, ...]
|
|
|
18
18
|
commit_id: str | None
|
|
19
19
|
__commit_id__: str | None
|
|
20
20
|
|
|
21
|
-
__version__ = version = '0.0.1.
|
|
22
|
-
__version_tuple__ = version_tuple = (0, 0, 1, '
|
|
21
|
+
__version__ = version = '0.0.1.dev5'
|
|
22
|
+
__version_tuple__ = version_tuple = (0, 0, 1, 'dev5')
|
|
23
23
|
|
|
24
24
|
__commit_id__ = commit_id = None
|
|
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
|