Commit graph

68 commits

Author SHA1 Message Date
db59cd39c1 fixed docstring copypasta error 2019-09-18 16:08:25 +02:00
9e48c8fd30 defaulted optional attributes to None 2019-09-18 16:05:48 +02:00
ec5964db21 Status.lastUpdate is now a proper datetime 2019-09-18 15:59:14 +02:00
2885df1a02 removed deprecated empty default parameter for System() 2019-09-18 15:52:21 +02:00
ec8054912b implementet “status” API 2019-09-18 15:44:32 +02:00
7c9368d273 added default (empty) quary params 2019-09-18 14:31:58 +02:00
573c6c322f fixed exceptions’ __str__() methods. python newb. 2019-09-18 13:53:24 +02:00
13d766a2b9 Fixed query(). You know, inheritance and shit. It’s a thing. 2019-09-18 13:18:16 +02:00
f95326e1f5 fixed Exception naming …
m)
2019-09-18 13:14:23 +02:00
3ba1cfc618 added the rest of the systemsApi.System methods 2019-09-18 11:01:18 +02:00
6325bb72d6 added unittests for the “new” systemsApi module 2019-09-18 11:00:51 +02:00
f61990027b changed System.ids() to return a dict instead of a tuple 2019-09-18 10:34:48 +02:00
4cd572e788 changed the internal modus operandi
API endpoints now just return the raw JSON response. The way to get an
actual object will now always be through the models.
2019-09-18 10:34:04 +02:00
a283e7c97a … not all systems in the DB have id64s yet apparently … 2019-09-18 10:19:24 +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
9aaafbb558 initial commit 2019-09-17 08:58:53 +02:00