diff options
author | Gauvain Pocentek <gauvain@pocentek.net> | 2017-05-27 21:45:02 +0200 |
---|---|---|
committer | Gauvain Pocentek <gauvain@pocentek.net> | 2017-06-02 15:41:37 +0200 |
commit | 993d576ba794a29aacd56a7610e79a331789773d (patch) | |
tree | 287b12c668ac0d776e12c3a4f04e8caca5c293ec /gitlab/mixins.py | |
parent | d809fefaf5b382f13f8f9da344320741e553ced1 (diff) | |
download | gitlab-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