summaryrefslogtreecommitdiff
path: root/gitlab/mixins.py
Commit message (Expand)AuthorAgeFilesLines
* chore: consolidate license and authorsNejc Habjan2022-08-041-17/+0
* chore: enable mypy check `disallow_any_generics`John L. Villalovos2022-08-011-2/+2
* chore: enable mypy check `warn_return_any`John L. Villalovos2022-07-281-1/+4
* fix: use the [] after key names for array variables in `params`John L. Villalovos2022-07-271-3/+12
* chore: add a `lazy` boolean attribute to `RESTObject`John L. Villalovos2022-07-201-2/+2
* refactor: avoid possible breaking change in iterator (#2107)John Villalovos2022-06-271-2/+5
* feat(downloads): allow streaming downloads access to response iterator (#1956)Tom Catshoek2022-06-261-2/+6
* refactor: remove no-op id argument in GetWithoutIdMixinNejc Habjan2022-06-251-3/+1
* feat(api): support head() method for get and list endpointsNejc Habjan2022-06-251-3/+31
* chore: enable pylint check: "no-else-return"John L. Villalovos2022-06-041-2/+1
* chore: enable pylint checksJohn L. Villalovos2022-06-041-6/+0
* chore: move `utils._validate_attrs` inside `types.RequiredOptional`John L. Villalovos2022-05-311-4/+2
* feat: support mutually exclusive attributes and consolidate validation to fix...Walter Rowe2022-05-311-27/+7
* chore: update type-hints return signature for GetWithoutIdMixin methodsJohn L. Villalovos2022-05-301-1/+1
* chore(mixins): remove None check as http_get always returns valueNejc Habjan2022-05-291-2/+0
* feat(client): introduce `iterator=True` and deprecate `as_list=False` in `lis...John L. Villalovos2022-05-291-4/+2
* refactor(mixins): extract custom type transforms into utilsNejc Habjan2022-05-291-44/+4
* feat(mixins): allow deleting resources without IDsNejc Habjan2022-02-101-1/+4
* style: use literals to declare data structuresNejc Habjan2022-01-231-1/+1
* chore: create return type-hints for `get_id()` & `encoded_id`John L. Villalovos2022-01-141-0/+1
* feat(api): return result from `SaveMixin.save()`kernelport2022-01-131-4/+7
* chore: replace usage of utils._url_encode() with utils.EncodedId()jlvillal/encoded_idJohn L. Villalovos2022-01-131-4/+5
* chore: add EncodedId string class to use to hold URL-encoded pathsJohn L. Villalovos2022-01-131-4/+2
* fix: use url-encoded ID in all pathsJohn L. Villalovos2022-01-131-19/+18
* fix: remove custom URL encodingJohn L. Villalovos2022-01-081-3/+3
* Merge pull request #1709 from python-gitlab/docs/sphinx-annotationsNejc Habjan2021-12-011-33/+33
|\
| * docs: use annotations for return typesdocs/sphinx-annotationsNejc Habjan2021-12-011-12/+12
| * docs: only use type annotations for documentationNejc Habjan2021-11-281-21/+21
* | Merge pull request #1702 from python-gitlab/jlvillal/attribute_helpNejc Habjan2021-12-011-1/+1
|\ \
| * | chore: attempt to be more informative for missing attributesjlvillal/attribute_helpJohn L. Villalovos2021-11-301-1/+1
| |/
* | chore: use constants from gitlab.const moduleJohn L. Villalovos2021-11-301-1/+1
|/
* refactor: use f-strings for string formattingNejc Habjan2021-11-051-23/+23
* feat(api): add project label promotionRaimund Hook2021-10-181-0/+47
* docs: fix a few typosTim Gates2021-09-191-2/+2
* refactor(objects): remove deprecated members.all() methodNejc Habjan2021-09-081-48/+0
* fix(mixins): improve deprecation warningMax Wittig2021-08-131-1/+1
* fix: ensure kwargs are passed appropriately for ObjectDeleteMixinBen Brown2021-06-011-1/+1
* chore: fix import ordering using isortJohn L. Villalovos2021-05-251-3/+2
* feat: add feature to get inherited member for project/groupOleksii Shkurupii2021-05-071-1/+48
* Merge pull request #1412 from JohnVillalovos/jlvillal/optional_get_attrsNejc Habjan2021-04-261-0/+2
|\
| * chore: make Get.*Mixin._optional_get_attrs always presentJohn L. Villalovos2021-04-241-0/+3
* | chore: make ListMixin._list_filters always presentJohn L. Villalovos2021-04-241-0/+2
|/
* Merge pull request #1397 from JohnVillalovos/jlvillal/flake8Max Wittig2021-04-231-1/+0
|\
| * chore: fix F401 errors reported by flake8John L. Villalovos2021-04-181-1/+0
* | fix: correct some type-hints in gitlab/mixins.pyJohn L. Villalovos2021-04-181-24/+26
|/
* Merge pull request #1375 from JohnVillalovos/jlvillal/update_uses_postNejc Habjan2021-04-171-1/+2
|\
| * chore: remove usage of getattr()John L. Villalovos2021-03-151-1/+2
* | chore: have _create_attrs & _update_attrs be a namedtupleJohn L. Villalovos2021-04-171-3/+3
|/
* chore: add _create_attrs & _update_attrs to RESTManagerJohn L. Villalovos2021-03-101-25/+7
* chore: make _types always present in RESTManagerJohn L. Villalovos2021-03-071-11/+8