Coverage for /opt/conda/envs/apienv/lib/python3.10/site-packages/daiquiri/implementors/imageviewer/upload_canvas.py: 0%
7 statements
« prev ^ index » next coverage.py v7.6.5, created at 2024-11-15 02:12 +0000
« prev ^ index » next coverage.py v7.6.5, created at 2024-11-15 02:12 +0000
1import time
2from daiquiri.core.components import ComponentActor
5class Upload_CanvasActor(ComponentActor):
6 name = "upload_canvas"
8 def method(self, *args, **kwargs):
9 """This actor will allow external processing of the current canvas
10 view in the client
12 Kwargs:
13 sample(dict): The current sample dictionary
14 image(str): Base64 encoded image
16 """
17 print(kwargs["sample"])
18 time.sleep(1)