Release v4928.1.4.2 stable
This commit is contained in:
25
docs/CLIENTFLOW_V4928_1_1_SYNTAX_HOTFIX.md
Normal file
25
docs/CLIENTFLOW_V4928_1_1_SYNTAX_HOTFIX.md
Normal file
@@ -0,0 +1,25 @@
|
||||
# ClientFlow v4928.1.1 — syntax hotfix
|
||||
|
||||
Correção de arranque para a v4928.1.
|
||||
|
||||
## Problema
|
||||
|
||||
O backend falhava no import de `app.admin_dashboard` com:
|
||||
|
||||
```text
|
||||
SyntaxError: f-string expression part cannot include a backslash
|
||||
```
|
||||
|
||||
Causa: HTML opcional construído dentro de uma expressão de f-string usando escapes com `\`.
|
||||
|
||||
## Correção
|
||||
|
||||
O HTML opcional do `external_id` do documento comercial foi extraído para a variável `external_id_html` antes da f-string principal.
|
||||
|
||||
## Validação
|
||||
|
||||
```text
|
||||
python -m compileall -q app tests
|
||||
pytest -q
|
||||
207 passed
|
||||
```
|
||||
Reference in New Issue
Block a user