From 23f65197fca136b264968b31a347f87cb7dd14e4 Mon Sep 17 00:00:00 2001 From: Lendemor Date: Tue, 29 Oct 2024 18:29:09 +0100 Subject: [PATCH] environment shouldn't check path existence --- reflex/config.py | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/reflex/config.py b/reflex/config.py index 22a04c50c..01d82f7d5 100644 --- a/reflex/config.py +++ b/reflex/config.py @@ -213,14 +213,8 @@ def interpret_path_env(value: str, field_name: str) -> Path: Returns: The interpreted value. - - Raises: - EnvironmentVarValueError: If the path does not exist. """ - path = Path(value) - if not path.exists(): - raise EnvironmentVarValueError(f"Path does not exist: {path} for {field_name}") - return path + return Path(value) def interpret_enum_env(value: str, field_type: GenericType, field_name: str) -> Any: