summaryrefslogtreecommitdiff
path: root/gitlab/base.py
Commit message (Collapse)AuthorAgeFilesLines
* refactor(api): explicitly export classes for star importsrefactor/split-objectsNejc Habjan2021-02-071-0/+7
|
* fix(base): really refresh objectfix/delete-attrMax Wittig2020-10-121-1/+1
| | | | | | This fixes and error, where deleted attributes would not show up Fixes #1155
* feat(types): add __dir__ to RESTObject to expose attributesSpencer Young2020-04-131-0/+3
|
* docs: fix comment of prev_page()Donghui Wang2020-03-211-1/+1
| | | | Co-Authored-By: Nejc Habjan <hab.nejc@gmail.com>
* docs: fix comment of prev_page()donhui2020-03-201-2/+2
|
* refactor: remove unused code, simplify string formatgodaji2019-10-061-1/+1
|
* fix: improve pickle supportbourgesl2019-07-211-1/+1
|
* refactor: format everything blackrefactor/blackMax Wittig2019-05-161-31/+39
|
* fix: use python2 compatible syntax for superfix/python-testsMax Wittig2019-02-221-2/+7
|
* Implement __eq__ and __hash__ methodsJonathan Piron2019-02-201-1/+11
| | | | To ease lists and sets manipulations.
* Drop API v3 supportGauvain Pocentek2018-05-191-526/+0
| | | | Drop the code, the tests, and update the documentation.
* submanagers: allow having undefined parametersGauvain Pocentek2017-12-161-1/+1
| | | | | | | This might happen in CLI context, where recursion to discover parent attributes is not required (URL gets hardcoded) Fix should fix the CLI CI.
* Module's base objects serialization (#359)Lyudmil Nenov2017-11-031-0/+22
| | | | | | | | Make gitlab objects serializable With current implementation of API v3 and v4 support, some instances have properties of type module and are not serializable. Handle these properties manually with setstate and getstate methods.
* Pagination generators: expose more informationGauvain Pocentek2017-11-011-0/+36
| | | | | | | Expose the X-* pagination attributes returned by the Gitlab server when requesting lists. Closes #304
* Remove support for "constructor types" in v4Gauvain Pocentek2017-10-211-4/+0
| | | | | | 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.
* Fix the labels attrs on MR and issuesGauvain Pocentek2017-09-191-1/+18
| | | | Fixes #306
* adds project upload feature (#239)James Johnson2017-09-121-1/+1
|
* [v4] CLI support is backGauvain Pocentek2017-08-171-0/+7
|
* minor doc updatesGauvain Pocentek2017-06-181-0/+11
|
* pep8 fixesGauvain Pocentek2017-06-111-1/+1
|
* Fix a few remaining methodsGauvain Pocentek2017-06-111-1/+11
|
* Unit tests for REST* classesGauvain Pocentek2017-06-051-4/+11
|
* Migrate all v4 objects to new APIGauvain Pocentek2017-06-021-28/+9
| | | | | | | Some things are probably broken. Next step is writting unit and functional tests. And fix.
* Add support for managers in objects for new APIGauvain Pocentek2017-06-021-2/+31
| | | | Convert User* to the new REST* API.
* pep8Gauvain Pocentek2017-06-021-1/+1
|
* Move the mixins in their own moduleGauvain Pocentek2017-06-021-189/+0
|
* Rework the manager and object classesGauvain Pocentek2017-06-021-0/+314
| | | | | | | | | | | | | | 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).
* Fix python functional testsGauvain Pocentek2017-05-271-1/+1
|
* Add missing base.py fileGauvain Pocentek2017-05-231-0/+533