()
| 48 | |
| 49 | |
| 50 | def _counter_canvas() -> CanvasDeclaration: |
| 51 | return CanvasDeclaration( |
| 52 | id="counter", |
| 53 | display_name="Counter", |
| 54 | description="A simple counter canvas for e2e testing", |
| 55 | input_schema={ |
| 56 | "type": "object", |
| 57 | "properties": {"startValue": {"type": "number"}}, |
| 58 | }, |
| 59 | actions=[ |
| 60 | CanvasAction( |
| 61 | name="increment", |
| 62 | description="Increment the counter", |
| 63 | input_schema={ |
| 64 | "type": "object", |
| 65 | "properties": {"amount": {"type": "number"}}, |
| 66 | }, |
| 67 | ) |
| 68 | ], |
| 69 | ) |
| 70 | |
| 71 | |
| 72 | async def _create_counter_session( |
no test coverage detected
searching dependent graphs…