summaryrefslogtreecommitdiff
path: root/gitlab/mixins.py
diff options
context:
space:
mode:
authorGauvain Pocentek <gauvain@pocentek.net>2017-05-27 21:45:02 +0200
committerGauvain Pocentek <gauvain@pocentek.net>2017-06-02 15:41:37 +0200
commit993d576ba794a29aacd56a7610e79a331789773d (patch)
tree287b12c668ac0d776e12c3a4f04e8caca5c293ec /gitlab/mixins.py
parentd809fefaf5b382f13f8f9da344320741e553ced1 (diff)
downloadgitlab-993d576ba794a29aacd56a7610e79a331789773d.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/mixins.py')
0 files changed, 0 insertions, 0 deletions