summaryrefslogtreecommitdiff
path: root/gitlab/utils.py
diff options
context:
space:
mode:
authorGauvain Pocentek <gauvain@pocentek.net>2017-05-27 21:45:02 +0200
committerGauvain Pocentek <gauvain@pocentek.net>2017-05-28 07:22:27 +0200
commit29e0baee39728472abd6b67822b04518c3985d97 (patch)
treee02ee844b201bce8b4b048a1bb4250a4beb6ca41 /gitlab/utils.py
parentb7298dea19f37d3ae0dfb3e233f3bc7cf5bda10d (diff)
downloadgitlab-29e0baee39728472abd6b67822b04518c3985d97.tar.gz
Rework the manager and object classes
Add new RESTObject and RESTManager base class, linked to a bunch of Mixin class to implement the actual CRUD methods. Object are generated by the managers, and special cases are handled in the derivated classes. Both ways (old and new) can be used together, migrate only a few v4 objects to the new method as a POC. TODO: handle managers on generated objects (have to deal with attributes in the URLs).
Diffstat (limited to 'gitlab/utils.py')
0 files changed, 0 insertions, 0 deletions