dasch-swiss / dsp-tools

A Python library and tools for the DSP-API
https://docs.dasch.swiss/latest/DSP-TOOLS
GNU General Public License v3.0
10 stars 4 forks source link

feat(xmlvalidate): send validation request to API (DEV-4177) #1186

Closed Nora-Olivia-Ammann closed 1 month ago

linear[bot] commented 1 month ago

DEV-4177 send API validation request

seakayone commented 1 month ago

I am not entirely sure if splitting different parts of the dsp-api's API into instances of distinct classes is a good thing or if having a stateless DspApiClient would be easier to use? -> how would you envision that? If you envision that with a generic api client, we have the connection monster (https://github.com/dasch-swiss/dsp-tools/blob/main/src/dsp_tools/utils/connection_live.py)

This is would probably be a lenghty discussion we should have another time in person. Long story short, the "connection monster" is mixing certain concerns from which its problems arise.