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 .. automodule:: urbantz.delivery
:members: :members:
Delivery items
--------------
.. automodule:: urbantz.items
:members:
Exceptions Exceptions
---------- ----------
@ -18,3 +24,6 @@ Helper classes
.. automodule:: urbantz.base .. automodule:: urbantz.base
:members: :members:
.. automodule:: urbantz.utils
:members:

View File

@ -33,8 +33,6 @@ class Coordinates(JSONSerializable):
def __init__(self, lat=0, lng=0): def __init__(self, lat=0, lng=0):
""" """
Get coordinates from decimal degrees.
:param float lat: Latitude in decimal degrees. :param float lat: Latitude in decimal degrees.
:param float lng: Longitude 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): def __init__(self, *args, **kwargs):
"""
Create a new DictObject.
All arguments and keyword arguments are like ``dict``.
"""
super().__init__(*args, **kwargs) super().__init__(*args, **kwargs)
self.__dict__.update(self) self.__dict__.update(self)