Skip to content

Draft: initial setup for migrating to dasf-messaging-python=0.1.2

Philipp Sommer requested to merge pydantic into master

Moin!

this is an attempt to move this backend module to the new framework of dasf-messaging-python@0.1. We do not use explicit backend modules anymore, but instead directly use pythons typing and pydantic for searializing requests.

This is a draft PR and I'd very much like to get the feedback of the developers of this backend module.

In this branch, you see a backend_module.py file that is supposed to replace SynopsisModulePulsarMessageHandler.py. The real work will then be done in the functions that are embedded in the different modules. For now, I just implemented this in the similarity_analysis_prototype_clean.py file. Does this sound like a plan for you? If yes, I will to the same with the other modules.

Of course one need to do some small changes to the frontends where we build the requests, too.

ping @viktoria-wichert @daniel-eggert @nicola-abraham @daniela-rabe

Merge request reports

Loading