From 46e0ac0c0a90ab8328b4571869528c23462d3cc4 Mon Sep 17 00:00:00 2001 From: Mint <> Date: Sun, 11 Dec 2022 14:32:15 +0300 Subject: [PATCH] Use reqto wrapper for requests --- fetch_blocks.py | 4 ++-- fetch_instances.py | 2 +- requirements.txt | 2 ++ 3 files changed, 5 insertions(+), 3 deletions(-) diff --git a/fetch_blocks.py b/fetch_blocks.py index 9c9ee45..5e076e7 100644 --- a/fetch_blocks.py +++ b/fetch_blocks.py @@ -1,5 +1,5 @@ -from requests import get -from requests import post +from reqto import get +from reqto import post from hashlib import sha256 import sqlite3 from bs4 import BeautifulSoup diff --git a/fetch_instances.py b/fetch_instances.py index 7d6f7c8..7d5ab24 100644 --- a/fetch_instances.py +++ b/fetch_instances.py @@ -1,4 +1,4 @@ -from requests import get +from reqto import get from hashlib import sha256 import sqlite3 import sys diff --git a/requirements.txt b/requirements.txt index 519ef47..c5e5818 100644 --- a/requirements.txt +++ b/requirements.txt @@ -3,3 +3,5 @@ fastapi uvicorn requests jinja2 +eventlet +reqto -- 2.39.5