File tree Expand file tree Collapse file tree 3 files changed +5
-4
lines changed Expand file tree Collapse file tree 3 files changed +5
-4
lines changed Original file line number Diff line number Diff line change 11{
2+ "type" : " module" ,
23 "scripts" : {
34 "format" : " prettier --write . && eslint --fix" ,
45 "check" : " prettier --check . && eslint"
Original file line number Diff line number Diff line change @@ -150,7 +150,7 @@ async def execute_query() -> None:
150150 try :
151151 # Run the query
152152 if asyncio .iscoroutinefunction (query ):
153- new_data = await query (** kwargs )
153+ new_data = await query (** kwargs ) # type: ignore[call-arg]
154154 else :
155155 new_data = await database_sync_to_async (
156156 query , thread_sensitive = thread_sensitive
@@ -219,7 +219,7 @@ def use_mutation(
219219) -> Mutation [FuncParams ]:
220220 """This hook is used to modify data in the background, typically to create/update/delete \
221221 data from the Django ORM.
222-
222+
223223 Mutation functions can `return False` to prevent executing your `refetch` function. All \
224224 other returns are ignored. Mutation functions can be sync or async.
225225
@@ -318,7 +318,7 @@ def use_user_data(
318318 save_default_data : bool = False ,
319319) -> UserData :
320320 """Get or set user data stored within the REACTPY_DATABASE.
321-
321+
322322 Kwargs:
323323 default_data: A dictionary containing `{key: default_value}` pairs. \
324324 For computationally intensive defaults, your `default_value` \
Original file line number Diff line number Diff line change @@ -107,7 +107,7 @@ def delete_old_workspaces():
107107 if value .startswith ("user_workspace_" )
108108 }
109109
110- # Delete the workspace if it doesn't exist at this moment
110+ # Delete any workspaces that are not being used
111111 for uuid in python_uuids - dom_uuids :
112112 task_name = f"task_{ uuid } "
113113 if task_name in globals ():
You can’t perform that action at this time.
0 commit comments