more typings

This commit is contained in:
Lendemor 2024-11-22 15:56:29 +01:00
parent de3c090af2
commit a5caa27264
2 changed files with 4 additions and 2 deletions

View File

@ -6,7 +6,7 @@ from reflex.istate.proxy import ReadOnlyStateProxy
from reflex.state import _split_substate_key, _substate_key, get_state_manager from reflex.state import _split_substate_key, _substate_key, get_state_manager
async def get_state(token, state_cls: Any | None = None) -> ReadOnlyStateProxy: async def get_state(token: str, state_cls: Any | None = None) -> ReadOnlyStateProxy:
"""Get the instance of a state for a token. """Get the instance of a state for a token.
Args: Args:

View File

@ -1397,7 +1397,9 @@ def initialize_default_app(app_name: str):
initialize_app_directory(app_name) initialize_app_directory(app_name)
def validate_and_create_app_using_remote_template(app_name, template, templates): def validate_and_create_app_using_remote_template(
app_name: str, template: str, templates: dict[str, Template]
):
"""Validate and create an app using a remote template. """Validate and create an app using a remote template.
Args: Args: