Backend messages and field descriptions that reach the UI lose their em-dashes

Per the Microcopy rule: size and duration errors, the flavor errors, run
parameter errors, the Resources field descriptions, 401/409/400 details,
secret errors, the websocket node description and its on_connect setting.
The generated client follows.
This commit is contained in:
2026-10-27 17:52:55 +01:00
parent 4cb028de41
commit e37aa2bdd7
12 changed files with 39 additions and 39 deletions
+1 -1
View File
@@ -527,7 +527,7 @@ def get_current_user(request: Request, session: SessionDep, token: TokenDep) ->
if user is None or not user.is_active:
raise HTTPException(
status_code=status.HTTP_401_UNAUTHORIZED,
detail="This session is no longer valid — please log in again",
detail="This session is no longer valid. Please log in again",
)
return user