use pydantic dataclasses, members are optional.. not the best

This commit is contained in:
2026-02-06 22:13:51 +01:00
parent 376fe69b9f
commit 501ba01bed
3 changed files with 102 additions and 90 deletions

View File

@@ -1,4 +1,7 @@
import requests
import urllib3
# Suppress only the single warning from urllib3.
urllib3.disable_warnings(category=urllib3.exceptions.InsecureRequestWarning)
import xmltodict
from requests.auth import HTTPBasicAuth
from datetime import datetime