dsf-python 3.6.0b2.post2__py3-none-any.whl → 3.6.0b2.post3__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.
dsf/__init__.py CHANGED
@@ -1,4 +1,4 @@
1
- __version__ = "3.6.0-b2.post2"
1
+ __version__ = "3.6.0-b2.post3"
2
2
 
3
3
  # path to unix socket file
4
4
  SOCKET_FILE = "/run/dsf/dcs.sock"
dsf/commands/plugins.py CHANGED
@@ -21,7 +21,7 @@ def reload_plugin(plugin: str):
21
21
  return BaseCommand("ReloadPlugin", **{"plugin": plugin})
22
22
 
23
23
 
24
- def set_plugin_data(plugin: str, key: str, value: str):
24
+ def set_plugin_data(plugin: str, key: str, value):
25
25
  """
26
26
  Update custom plugin data in the object model
27
27
  May be used to update only the own plugin data unless the plugin has the ManagePlugins permission.
@@ -34,10 +34,8 @@ def set_plugin_data(plugin: str, key: str, value: str):
34
34
  raise TypeError("plugin must be a string")
35
35
  if not isinstance(key, str) or not key:
36
36
  raise TypeError("key must be a string")
37
- if not isinstance(value, str):
38
- raise TypeError("value must be a string")
39
37
  return BaseCommand(
40
- "SetPluginData", **{"Plugin": plugin, "key": key, "value": value}
38
+ "SetPluginData", **{"plugin": plugin, "key": key, "value": value}
41
39
  )
42
40
 
43
41
 
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: dsf-python
3
- Version: 3.6.0b2.post2
3
+ Version: 3.6.0b2.post3
4
4
  Summary: Python interface to access DuetSoftwareFramework
5
5
  Home-page: https://github.com/Duet3D/dsf-python
6
6
  Author: Duet3D Ltd.
@@ -1,4 +1,4 @@
1
- dsf/__init__.py,sha256=-F1cbDo54rZM1JVumuFDgfNEnJ6L6Mj58wnA6mkaSJU,254
1
+ dsf/__init__.py,sha256=U7DYDaYF0GThefa06ZcAU5GdqaVgrLolsWdXUpTL1Ww,254
2
2
  dsf/exceptions.py,sha256=TIF-e0wAprfodFTfRD9chP6JZ97yA04dlaHN90mgGVI,93
3
3
  dsf/http.py,sha256=x3vPh4eZXYoBI0UVFZVGxc1p-fzN7vHhOpqPJ7Usl_w,7221
4
4
  dsf/utils.py,sha256=9GfGUu0sbeoJBJ6RuRIpI-BZ-1PKIMWaemWliknt1v0,2571
@@ -17,7 +17,7 @@ dsf/commands/http_endpoints.py,sha256=CevsLjAh_9GG6MQkAL7aFZKsuyRvYgNkiSCc5-jGv7
17
17
  dsf/commands/model_subscription.py,sha256=Dq4M7EfRjkHUcIbTrLjJRAxhAhMiawowLbEFS11NMEc,224
18
18
  dsf/commands/object_model.py,sha256=QDtxBbkJA7AozjicUtMAhBq9uGkB9_OHcZQIr8koJG4,2522
19
19
  dsf/commands/packages.py,sha256=e7LObfz7xNygMPGi2A5o_F6OG1yFhN5fYO--U0tf5WM,712
20
- dsf/commands/plugins.py,sha256=w_7YlIxj95w046vO89qGbAXyVzOBw_o-dlMuaqFE-JA,3020
20
+ dsf/commands/plugins.py,sha256=noLoiQTXuHxjFgXnk2LxgdoNZnhZXXIY-IIJcEQr_Zk,2930
21
21
  dsf/commands/responses.py,sha256=Q6jZwEKbmKkph96EepUdgD6LfY2VAX41MAaj6aJ1-XQ,1755
22
22
  dsf/commands/user_sessions.py,sha256=qFN_NfS8n2gVXqfdN0_kA3--kvtrX0ELYKtkxT1U7-E,1312
23
23
  dsf/connections/__init__.py,sha256=83E9M8yOZfdQqm196fnOaR7Wy4_IDYVhFwIl9BltsxI,1898
@@ -172,8 +172,8 @@ dsf/object_model/tools/tools.py,sha256=2wOEZlXswUnVBa0cuhyGYHz1z2R-mF25fi0a7WY3W
172
172
  dsf/object_model/volumes/__init__.py,sha256=XuRDty30gqn8jshASvclpxVTachXeAeJyo2-iHKEsKc,50
173
173
  dsf/object_model/volumes/volumes.py,sha256=gqbo5kUQo037A7Wv49vxnnaBhGlNjilJydjW8V2sKZ4,3073
174
174
  dsf/utility/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
175
- dsf_python-3.6.0b2.post2.dist-info/LICENSE,sha256=46mU2C5kSwOnkqkw9XQAJlhBL2JAf1_uCD8lVcXyMRg,7652
176
- dsf_python-3.6.0b2.post2.dist-info/METADATA,sha256=0JQAOtUaGTp6jds0zlayVeRBjsDxdpwqlHuzBsi93xw,2060
177
- dsf_python-3.6.0b2.post2.dist-info/WHEEL,sha256=PZUExdf71Ui_so67QXpySuHtCi3-J3wvF4ORK6k_S8U,91
178
- dsf_python-3.6.0b2.post2.dist-info/top_level.txt,sha256=hrm-wnKtms7vAmVuHX6jIj3C6G5p3uKCiXZH4HwJ4LA,4
179
- dsf_python-3.6.0b2.post2.dist-info/RECORD,,
175
+ dsf_python-3.6.0b2.post3.dist-info/LICENSE,sha256=46mU2C5kSwOnkqkw9XQAJlhBL2JAf1_uCD8lVcXyMRg,7652
176
+ dsf_python-3.6.0b2.post3.dist-info/METADATA,sha256=9cm9octK6ubgXD6IKbq7iuHiMv2Aj992k9cTFuSG85c,2060
177
+ dsf_python-3.6.0b2.post3.dist-info/WHEEL,sha256=PZUExdf71Ui_so67QXpySuHtCi3-J3wvF4ORK6k_S8U,91
178
+ dsf_python-3.6.0b2.post3.dist-info/top_level.txt,sha256=hrm-wnKtms7vAmVuHX6jIj3C6G5p3uKCiXZH4HwJ4LA,4
179
+ dsf_python-3.6.0b2.post3.dist-info/RECORD,,