python-sdk icon indicating copy to clipboard operation
python-sdk copied to clipboard

bring functionality for `to_list` and `to_df` into `Result` base-class

Open cvonsteg opened this issue 7 years ago • 1 comments

currently to_list and to_df exist as abstractmethod(s) in the Result base class. The implementation for each of the implementing endpoints is the same, so moving the functionality into the base class will keep code DRY. CargoMovements, and end-points which have slightly different implementations can then override the methods.

cvonsteg avatar Nov 19 '19 10:11 cvonsteg

This will also address #34

cvonsteg avatar Nov 19 '19 10:11 cvonsteg