From 709cbfdaafe341b7926b5a31cb3a51444444b8f8 Mon Sep 17 00:00:00 2001 From: Yash Anand Date: Fri, 6 Sep 2024 00:11:05 +0000 Subject: [PATCH] Remote test.py --- test.py | 16 ---------------- 1 file changed, 16 deletions(-) delete mode 100644 test.py diff --git a/test.py b/test.py deleted file mode 100644 index 6ba65ad16..000000000 --- a/test.py +++ /dev/null @@ -1,16 +0,0 @@ -from beta9 import endpoint - - -def load(): - return 5 - - -@endpoint( - cpu=1.0, - on_start=load, - workers=1 -) -def multiply(context, x): - factor = context.on_start_value - result = x * factor - return {"result": result}