Немного изменения для запуска в качестве сервиса на линуксе.
This commit is contained in:
Binary file not shown.
Binary file not shown.
@@ -10,7 +10,7 @@ import uvicorn
|
||||
from threading import Thread, Event, Lock
|
||||
import time
|
||||
from contextlib import asynccontextmanager
|
||||
from smb_excel import read_excel_from_smb, fetch_smb_file
|
||||
#from smb_excel import read_excel_from_smb, fetch_smb_file
|
||||
import numpy as np
|
||||
|
||||
|
||||
|
||||
@@ -5,4 +5,5 @@ fastapi>=0.115.0
|
||||
uvicorn>=0.30.0
|
||||
requests>=2.31.0
|
||||
python-telegram-handler
|
||||
python-dotenv>=1.1.0
|
||||
python-dotenv>=1.1.0
|
||||
lxml
|
||||
@@ -1,7 +1,7 @@
|
||||
# smb_excel.py (обновлённый фрагмент)
|
||||
from io import BytesIO
|
||||
from typing import Optional, Union, Any, Dict
|
||||
from smb.SMBConnection import SMBConnection
|
||||
#from smb.SMBConnection import SMBConnection
|
||||
import pandas as pd
|
||||
import re
|
||||
|
||||
|
||||
Reference in New Issue
Block a user