diff --git a/reflex/experimental/__init__.py b/reflex/experimental/__init__.py index ffba14ff5..7971c33ae 100644 --- a/reflex/experimental/__init__.py +++ b/reflex/experimental/__init__.py @@ -17,7 +17,7 @@ from .misc import run_in_thread as run_in_thread class ExperimentalNamespace(SimpleNamespace): """Namespace for experimental features.""" - def __getattribute__(self, item): + def __getattribute__(self, item: str): """Get attribute from the namespace. Args: @@ -27,7 +27,7 @@ class ExperimentalNamespace(SimpleNamespace): The attribute. """ warn( - "`rx._x` contains experimental features and might be removed at any time in the future .", + "`rx._x` contains experimental features and might be removed at any time in the future.", dedupe=True, ) return super().__getattribute__(item) @@ -64,7 +64,10 @@ class ExperimentalNamespace(SimpleNamespace): Args: component_name: name of the component. """ - warn(f"`rx._x.{component_name}` was promoted to `rx.{component_name}`.", dedupe=True) + warn( + f"`rx._x.{component_name}` was promoted to `rx.{component_name}`.", + dedupe=True, + ) _x = ExperimentalNamespace( diff --git a/reflex/utils/prerequisites.py b/reflex/utils/prerequisites.py index cebe8268e..2978cc792 100644 --- a/reflex/utils/prerequisites.py +++ b/reflex/utils/prerequisites.py @@ -1985,7 +1985,7 @@ def check_config_option_in_tier( option_name: str, allowed_tiers: list[str], fallback_value: Any, - help_link: str | None = None + help_link: str | None = None, ): """Check if a config option is allowed for the authenticated user's current tier.