From 3437b256062a991bb7e4c2864f7ffdc03a669c5b Mon Sep 17 00:00:00 2001 From: Mostafa Kamal Date: Sun, 26 May 2024 16:21:33 +0600 Subject: [PATCH] fix pydantic issue --- serverless.yml | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/serverless.yml b/serverless.yml index 73263bb..6966d35 100644 --- a/serverless.yml +++ b/serverless.yml @@ -19,3 +19,14 @@ functions: path: /{proxy+} method: any +custom: + pythonRequirements: + useStaticCache: false + useDownloadCache: false + pipCmdExtraArgs: + - "--platform manylinux2014_x86_64" + - "--implementation cp" + - "--python-version 3.9" + - "--only-binary=:all:" + - "--upgrade" +