From a0775af3aa4248365daabe9bc16145482efdec69 Mon Sep 17 00:00:00 2001 From: Chong Shen Ng Date: Tue, 8 Oct 2024 16:53:36 +0100 Subject: [PATCH] feat(framework) Add FAB constants (#4303) --- src/py/flwr/common/constant.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/py/flwr/common/constant.py b/src/py/flwr/common/constant.py index 4009d1ee158..e99e0edaacd 100644 --- a/src/py/flwr/common/constant.py +++ b/src/py/flwr/common/constant.py @@ -63,7 +63,10 @@ # Constants for FAB APP_DIR = "apps" +FAB_ALLOWED_EXTENSIONS = {".py", ".toml", ".md"} FAB_CONFIG_FILE = "pyproject.toml" +FAB_DATE = (2024, 10, 1, 0, 0, 0) +FAB_HASH_TRUNCATION = 8 FLWR_HOME = "FLWR_HOME" # Constants entries in Node config for Simulation