Commit graph

9 commits

Author SHA1 Message Date
0f452ae401 Positinable.distanceTo is now single dispatch
… but a) that only works for methods in 3.8 so I had to use a wrapper
and b) I don’t know if/how I can actually check for an instance of
Positionable as argument … so it’s kind of half of what I wanted it to
be.
2020-01-17 17:52:58 +01:00
ef36127bb9 added distaneTo to Commander and System models
They do now implement a “Positionable” interface that allows to
calculate distances to other Positionables or a dict of x,y,z
coordinates.
2020-01-08 11:14:18 +01:00
14b9fb4965 fixed get parameter handling
Starting to learn how to do things the Python way … it’s a rocky road :)
2019-12-26 23:53:38 +01:00
ca57e86d22 made exception.ServerError more descriptive 2019-11-24 21:58:16 +01:00
7c9368d273 added default (empty) quary params 2019-09-18 14:31:58 +02:00
f95326e1f5 fixed Exception naming …
m)
2019-09-18 13:14:23 +02:00
66ace44a62 @classmethods and System model moved to models module
Hey, I think I have now properly understood the difference between
@classmethod and @staticmethod, and that I will probably never again
even try using the latter …
2019-09-17 13:52:49 +02:00
adc6b0285f some usefuel properties 2019-09-17 13:40:19 +02:00
47c9f34a5c Initial working … thing.
Right now can only query full systems from the systems API.
2019-09-17 13:26:13 +02:00