From ce956ecffe39d0d569fee0563a93dc173624d40d Mon Sep 17 00:00:00 2001 From: dunossauro Date: Wed, 4 Dec 2024 21:49:03 -0300 Subject: [PATCH] =?UTF-8?q?Adicionando=20zoneinfo=20na=20posi=C3=A7=C3=A3o?= =?UTF-8?q?=20correta,=20o=20bug=20do=20ruff=20foi=20corrigido?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- aulas/06.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/aulas/06.md b/aulas/06.md index bc1feb4c..3724c1ac 100644 --- a/aulas/06.md +++ b/aulas/06.md @@ -128,10 +128,10 @@ Agora, criaremos uma função para gerar nossos tokens JWT. Criaremos um novo ar ```python title="fast_zero/security.py" linenums="1" from datetime import datetime, timedelta +from zoneinfo import ZoneInfo from jwt import encode from pwdlib import PasswordHash -from zoneinfo import ZoneInfo SECRET_KEY = 'your-secret-key' # Isso é provisório, vamos ajustar! ALGORITHM = 'HS256'