diff --git a/docs/api.rst b/docs/api.rst index 4b6378f..0f3dea3 100644 --- a/docs/api.rst +++ b/docs/api.rst @@ -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: diff --git a/urbantz/base.py b/urbantz/base.py index c323980..6f9a109 100644 --- a/urbantz/base.py +++ b/urbantz/base.py @@ -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. """ diff --git a/urbantz/utils.py b/urbantz/utils.py index cb7d8e8..ef9b554 100644 --- a/urbantz/utils.py +++ b/urbantz/utils.py @@ -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)