We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0c2fa9d commit c802d89Copy full SHA for c802d89
flet-gmftech/pages/coins.py
@@ -11,14 +11,12 @@
11
from pyecharts.globals import ThemeType
12
import httpx
13
from datetime import datetime
14
-import micropip
15
16
17
# Função assíncrona para buscar os dados da API usando httpx
18
async def fetch_usd_brl_data():
19
- await micropip.install("ssl") # Install ssl module
20
url = "https://economia.awesomeapi.com.br/json/daily/USD-BRL/15"
21
- async with httpx.AsyncClient() as client:
+ async with httpx.AsyncClient(verify=False) as client:
22
try:
23
response = await client.get(url)
24
if response.status_code == 200:
0 commit comments