canvas 0.52.0__py3-none-any.whl → 0.53.0__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.
- {canvas-0.52.0.dist-info → canvas-0.53.0.dist-info}/METADATA +1 -1
- {canvas-0.52.0.dist-info → canvas-0.53.0.dist-info}/RECORD +6 -6
- canvas_sdk/effects/task/task.py +8 -1
- plugin_runner/sandbox.py +1 -0
- {canvas-0.52.0.dist-info → canvas-0.53.0.dist-info}/WHEEL +0 -0
- {canvas-0.52.0.dist-info → canvas-0.53.0.dist-info}/entry_points.txt +0 -0
|
@@ -192,7 +192,7 @@ canvas_sdk/effects/protocol_card/protocol_card.py,sha256=kYkyl0gUi147VJUm-mgrrtR
|
|
|
192
192
|
canvas_sdk/effects/surescripts/__init__.py,sha256=vD-g2zW8HzGMfxcaure5ZhrQNP72iIDROAsCrzLH3y4,349
|
|
193
193
|
canvas_sdk/effects/surescripts/surescripts_messages.py,sha256=7Cd_93SJVCgrneXadubUSjLQwS0N2lNp2ISH_6a24cs,2746
|
|
194
194
|
canvas_sdk/effects/task/__init__.py,sha256=KlIinP5QbWMkoHGWPTg6Wi-TolPWW7TnEMVZ-h0Z3YE,168
|
|
195
|
-
canvas_sdk/effects/task/task.py,sha256=
|
|
195
|
+
canvas_sdk/effects/task/task.py,sha256=79NO1Fr2oBNd278BcvXGvupd0fFrF9bSRvV1EkqYjYI,4613
|
|
196
196
|
canvas_sdk/effects/widgets/__init__.py,sha256=vuMvOTrHNC-6tiIpdJ3Ct59EeBd9RUFZeFN9-vMHr4c,83
|
|
197
197
|
canvas_sdk/effects/widgets/portal_widget.py,sha256=5K8gqbS9OoF6P7oKvsWEOV9ij448VH3JEQu8YcIYwOQ,2441
|
|
198
198
|
canvas_sdk/events/__init__.py,sha256=eIJeJL52DUc1It1Dm6E8TrLzW-p2buKrsxEsy1UhYpU,270
|
|
@@ -303,14 +303,14 @@ plugin_runner/generate_allowed_imports.py,sha256=LQuVxL_j5n0Sj-KgR4Q8D9mj0xfuDqz
|
|
|
303
303
|
plugin_runner/installation.py,sha256=LLjtnzPk-w4go3UbXnBItJTKz1ajR_5kGQbFXTaWTFU,7693
|
|
304
304
|
plugin_runner/load_all_plugins.py,sha256=4T2gW2YljhIx4xfwf1c0F_8oIbE1ubsLj0ShkHRtlVY,5847
|
|
305
305
|
plugin_runner/plugin_runner.py,sha256=PqtvyUHOSvIHRW97zX_NKEjszJ1GVmETXxkZhzkZoe0,21975
|
|
306
|
-
plugin_runner/sandbox.py,sha256=
|
|
306
|
+
plugin_runner/sandbox.py,sha256=3xPlDuCHuJkb-K41gV8uABOn-Hla54qkq9iSafP2LVI,30210
|
|
307
307
|
protobufs/canvas_generated/messages/effects.proto,sha256=zTCelFeZ2ajsQPadiWFPOfqqpEB2ekSiLrdqmSd6tbY,9316
|
|
308
308
|
protobufs/canvas_generated/messages/events.proto,sha256=XBMsexTQb_4ZnvRF_u4ghEfKpuHN7eU6CJJmHGM-ThU,51507
|
|
309
309
|
protobufs/canvas_generated/messages/plugins.proto,sha256=oNainUPWFYQjgCX7bJEPI9_VnHC5VZduzOqgR4Q7dNM,109
|
|
310
310
|
protobufs/canvas_generated/services/plugin_runner.proto,sha256=doadBKn5k4xAtOgR-q_pEvW4yzxpUaHNOowMG6CL5GY,304
|
|
311
311
|
pubsub/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
312
312
|
pubsub/pubsub.py,sha256=PHIvJ5SD3M-jQSYeGGSj1FuG6CvP6BQffAoGax9Uudk,1423
|
|
313
|
-
canvas-0.
|
|
314
|
-
canvas-0.
|
|
315
|
-
canvas-0.
|
|
316
|
-
canvas-0.
|
|
313
|
+
canvas-0.53.0.dist-info/METADATA,sha256=abVbeams2cH3qPdbzfknUGPGciSjSF6hcOi-26yxHU4,4645
|
|
314
|
+
canvas-0.53.0.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
|
|
315
|
+
canvas-0.53.0.dist-info/entry_points.txt,sha256=0Vs_9GmTVUNniH6eDBlRPgofmADMV4BES6Ao26M4AbM,47
|
|
316
|
+
canvas-0.53.0.dist-info/RECORD,,
|
canvas_sdk/effects/task/task.py
CHANGED
|
@@ -41,6 +41,7 @@ class AddTask(_BaseEffect):
|
|
|
41
41
|
labels: list[str] = []
|
|
42
42
|
linked_object_id: str | UUID | None = None
|
|
43
43
|
linked_object_type: LinkableObjectType | None = None
|
|
44
|
+
author_id: str | UUID | None = None
|
|
44
45
|
|
|
45
46
|
@model_validator(mode="after")
|
|
46
47
|
def check_needed_together_fields(self) -> Self:
|
|
@@ -68,6 +69,7 @@ class AddTask(_BaseEffect):
|
|
|
68
69
|
"title": self.title,
|
|
69
70
|
"status": self.status.value,
|
|
70
71
|
"labels": self.labels,
|
|
72
|
+
"author_id": str(self.author_id) if self.author_id else None,
|
|
71
73
|
"linked_object": {
|
|
72
74
|
"id": str(self.linked_object_id) if self.linked_object_id else None,
|
|
73
75
|
"type": self.linked_object_type.value if self.linked_object_type else None,
|
|
@@ -89,11 +91,16 @@ class AddTaskComment(_BaseEffect):
|
|
|
89
91
|
|
|
90
92
|
body: str | None = None
|
|
91
93
|
task_id: str | UUID | None = None
|
|
94
|
+
author_id: str | UUID | None = None
|
|
92
95
|
|
|
93
96
|
@property
|
|
94
97
|
def values(self) -> dict[str, Any]:
|
|
95
98
|
"""The values for adding a task comment."""
|
|
96
|
-
return {
|
|
99
|
+
return {
|
|
100
|
+
"task": {"id": str(self.task_id) if self.task_id else None},
|
|
101
|
+
"body": self.body,
|
|
102
|
+
"author_id": str(self.author_id) if self.author_id else None,
|
|
103
|
+
}
|
|
97
104
|
|
|
98
105
|
|
|
99
106
|
class UpdateTask(_BaseEffect):
|
plugin_runner/sandbox.py
CHANGED
|
File without changes
|
|
File without changes
|