feature/evaluating #2

Merged
MH.Dmitrii merged 28 commits from feature/evaluating into main 2026-01-09 10:17:48 +00:00
Showing only changes of commit 4ed850fb10 - Show all commits

View File

@@ -1,5 +1,4 @@
import requests
from requests.auth import HTTPBasicAuth
import xml.etree.ElementTree as ET
from base64 import b64encode
from server.backend.schemas.pydantic import settings
@@ -44,7 +43,7 @@ def parse_contragents(xml: str):
df = pd.DataFrame(rows)
return df
except ET.ParseError:
return "Error during the parsing process"
raise
xml_data = fetch_contragents()
root = parse_contragents(xml_data)
print(root)