summaryrefslogtreecommitdiff
path: root/gitlab/base.py
diff options
context:
space:
mode:
authorGauvain Pocentek <gauvain@pocentek.net>2017-10-21 07:45:47 +0200
committerGauvain Pocentek <gauvain@pocentek.net>2017-10-21 07:45:47 +0200
commit32ea62af967e5ee0304d8e16d7000bb052a506e4 (patch)
treedc4be8948e1603c0f90a47ce10bf0ef2f1ce810f /gitlab/base.py
parentdc504ab815cc9ad74a6a6beaf6faa88a5d99c293 (diff)
downloadgitlab-32ea62af967e5ee0304d8e16d7000bb052a506e4.tar.gz
Remove support for "constructor types" in v4
In v3 we create objects from json dicts when it makes sense. Support for this feature has not been kept in v4, and we didn't get requests for it so let's drop the _constructor_types definitions.
Diffstat (limited to 'gitlab/base.py')
-rw-r--r--gitlab/base.py4
1 files changed, 0 insertions, 4 deletions
diff --git a/gitlab/base.py b/gitlab/base.py
index ccc9e4a..795d7fa 100644
--- a/gitlab/base.py
+++ b/gitlab/base.py
@@ -553,10 +553,6 @@ class RESTObject(object):
'_module': importlib.import_module(self.__module__)
})
self.__dict__['_parent_attrs'] = self.manager.parent_attrs
-
- # TODO(gpocentek): manage the creation of new objects from the received
- # data (_constructor_types)
-
self._create_managers()
def __getattr__(self, name):