feature/evaluating #2
@@ -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)
|
||||
Reference in New Issue
Block a user