Open-EO / openeo-python-client

Python client API for OpenEO
https://open-eo.github.io/openeo-python-client/
Apache License 2.0
146 stars 37 forks source link

Eliminate duplication between DataCube, VectorCube, ... #278

Open soxofaan opened 2 years ago

soxofaan commented 2 years ago

with addition of MlModel (5d074cb3b1dce3ec3db0fd9f65305719d6b6b3a5), we have now three classes that duplicate a lot of internals:

e.g. MlModel is more than 100 LoC, but only 10 is actually MlModel specific, the rest is copied from DataCube. In VectorCube it's even worse

I think these duplicated internals should be moved to a common base

soxofaan commented 2 years ago

related to:

soxofaan commented 1 year ago

Another use case: with LocalConnection there is also some overlap/duplication with Connection to be eliminated

soxofaan commented 1 year ago

also related to #402