canvas 0.8.1__py3-none-any.whl → 0.8.2__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.

Potentially problematic release.


This version of canvas might be problematic. Click here for more details.

@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: canvas
3
- Version: 0.8.1
3
+ Version: 0.8.2
4
4
  Summary: SDK to customize event-driven actions in your Canvas instance
5
5
  License: MIT
6
6
  Author: Canvas Team
@@ -65,7 +65,7 @@ canvas_cli/apps/emit/event_fixtures/VITAL_SIGN_UPDATED.ndjson,sha256=Er0aUWIYkqb
65
65
  canvas_cli/apps/logs/__init__.py,sha256=ehY9SRb6nBw81xZF50yyBlUZJtNR2VeVSNI5sFuWJ7o,64
66
66
  canvas_cli/apps/logs/logs.py,sha256=BFpZ-2OF2Rs1EMLePo5UjqC9fKQeqm8qZobNTFNCL_M,1972
67
67
  canvas_cli/apps/plugin/__init__.py,sha256=G_nLsu6cdko5OjatnbqUyEboGcNlGGLwpZmCBxMKdfo,236
68
- canvas_cli/apps/plugin/plugin.py,sha256=i1c4aKNlUrqlvQSz8agIi8aW2wWb8E5t6oh8sOpVJxw,14826
68
+ canvas_cli/apps/plugin/plugin.py,sha256=pAyZQ5mNUkTvvwGLVjr8gW-4BXRh12GgTCSqinTFIb0,14832
69
69
  canvas_cli/apps/plugin/tests.py,sha256=SsYeYY25ly9TMn-nkJEZjLaPCyFbT4vs1sN_FnQbJ5U,2746
70
70
  canvas_cli/apps/run_plugins/__init__.py,sha256=iAMgX_6D3CdjQodGx_azwhSjouaxquOm8Z8QVXnlTFE,117
71
71
  canvas_cli/apps/run_plugins/run_plugins.py,sha256=qsf6-UhFAZpIL-1C50fzSoIwXMsZISxg2fxzM46UHTA,384
@@ -250,7 +250,7 @@ plugin_runner/tests/test_sandbox.py,sha256=I44rz0sbxqtWm6mAG8fGhneE1yu9M-K3PMkE4
250
250
  pubsub/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
251
251
  pubsub/pubsub.py,sha256=pyTW0JU8mtaqiAV6g6xjZwel1CVy2EonPMU-_vkmhUM,1044
252
252
  settings.py,sha256=6YTybI0eNeuDamnXdRrEUOBICf9bM1uW1lCwj4IR9sU,2081
253
- canvas-0.8.1.dist-info/METADATA,sha256=oRCTBDikhw0IZcizZpGWXye9dYRtt0cKV_gk2snL3BE,4663
254
- canvas-0.8.1.dist-info/WHEEL,sha256=sP946D7jFCHeNz5Iq4fL4Lu-PrWrFsgfLXbbkciIZwg,88
255
- canvas-0.8.1.dist-info/entry_points.txt,sha256=VSmSo1IZ3aEfL7enmLmlWSraS_IIkoXNVeyXzgRxFiY,46
256
- canvas-0.8.1.dist-info/RECORD,,
253
+ canvas-0.8.2.dist-info/METADATA,sha256=WsgfP8yjYpLfzb8-_cHE7uM8VTAym8Nf0Ge4wfwerJk,4663
254
+ canvas-0.8.2.dist-info/WHEEL,sha256=sP946D7jFCHeNz5Iq4fL4Lu-PrWrFsgfLXbbkciIZwg,88
255
+ canvas-0.8.2.dist-info/entry_points.txt,sha256=VSmSo1IZ3aEfL7enmLmlWSraS_IIkoXNVeyXzgRxFiY,46
256
+ canvas-0.8.2.dist-info/RECORD,,
@@ -54,7 +54,7 @@ def _build_package(package: Path) -> Path:
54
54
  def _get_name_from_metadata(host: str, token: str, package: Path) -> str | None:
55
55
  """Extract metadata from a provided package and return the package name if it exists in the metadata."""
56
56
  try:
57
- with open(package) as package_file:
57
+ with open(package, "rb") as package_file:
58
58
  metadata_response = requests.post(
59
59
  plugin_url(host, "extract-metadata"),
60
60
  headers={"Authorization": f"Bearer {token}"},
File without changes