mirror of
https://github.com/fusion44/blitz_api.git
synced 2026-08-13 11:52:45 +02:00
fix: more python3.7 incompatibilities
This commit is contained in:
parent
48ee10f532
commit
47d654c9db
2 changed files with 7 additions and 6 deletions
12
app/utils.py
12
app/utils.py
|
|
@ -1,6 +1,6 @@
|
|||
import json
|
||||
from types import coroutine
|
||||
from typing import Dict, Final
|
||||
from typing import Dict
|
||||
|
||||
import aiohttp
|
||||
import requests
|
||||
|
|
@ -101,9 +101,9 @@ async def send_sse_message(id: str, json_data: Dict):
|
|||
|
||||
|
||||
class SSE():
|
||||
SYS_STATUS: Final = "sys_status"
|
||||
SYS_STATUS = "sys_status"
|
||||
|
||||
BTC_NETWORK_STATUS: Final = "btc_network_status"
|
||||
BTC_MEMPOOL_STATUS: Final = "btc_mempool_status"
|
||||
BTC_NEW_BLOC: Final = "btc_new_bloc"
|
||||
BTC_INFO: Final = "btc_info"
|
||||
BTC_NETWORK_STATUS = "btc_network_status"
|
||||
BTC_MEMPOOL_STATUS = "btc_mempool_status"
|
||||
BTC_NEW_BLOC = "btc_new_bloc"
|
||||
BTC_INFO = "btc_info"
|
||||
|
|
|
|||
|
|
@ -15,3 +15,4 @@ aiohttp==3.7.4
|
|||
grpcio==1.38.1
|
||||
grpcio-tools==1.38.1
|
||||
googleapis-common-protos==1.53.0
|
||||
protobuf>=3.12.0
|
||||
Loading…
Add table
Add a link
Reference in a new issue