Repository navigation
adsefid v0.4.0
A caller-supplied httpx client now works without its own base_url, malformed success payloads surface as SDK errors, and every model is importable from the top-level package. Upgrade if you inject your own httpx.Client or build requests by hand.
Added
- Every request and result dataclass is exported from
adsefid(for examplefrom adsefid import AdsefidClient, SendSingleSmsRequest); theadsefid.models.*modules keep working. error_codeonBulkReceptorResult,P2pMessageResult,MessengerBulkReceptorResultandMessengerP2pReceptorResult, naming theWebServiceResponseCodewhen that one item was rejected.Typing :: Typedclassifier; CI covers Python 3.10 and 3.13.
Changed
- Every request carries the absolute URL built from
base_url, so anhttp_clientyou supply needs nobase_urlof its own.
Fixed
- A success payload of the wrong JSON shape raised a bare
TypeErrororKeyErrorfrom a model'sfrom_dict; it now raisesAdsefidTransportError.
Verified against adsefid.com Web Service API documentation v1.12.0.