This commit is contained in:
Lucidiot 2019-02-03 22:09:59 +01:00
parent 284fdf44b1
commit 9716ded8be
No known key found for this signature in database
GPG Key ID: AE3F7205692FA205
3 changed files with 9 additions and 6 deletions

View File

@ -7,6 +7,12 @@ Deliveries
.. automodule:: urbantz.delivery
:members:
Delivery items
--------------
.. automodule:: urbantz.items
:members:
Exceptions
----------
@ -18,3 +24,6 @@ Helper classes
.. automodule:: urbantz.base
:members:
.. automodule:: urbantz.utils
:members:

View File

@ -33,8 +33,6 @@ class Coordinates(JSONSerializable):
def __init__(self, lat=0, lng=0):
"""
Get coordinates from decimal degrees.
:param float lat: Latitude in decimal degrees.
:param float lng: Longitude in decimal degrees.
"""

View File

@ -21,10 +21,6 @@ class DictObject(JSONSerializable, dict):
"""
def __init__(self, *args, **kwargs):
"""
Create a new DictObject.
All arguments and keyword arguments are like ``dict``.
"""
super().__init__(*args, **kwargs)
self.__dict__.update(self)