summaryrefslogtreecommitdiff
path: root/gitlab/v4/objects/deploy_tokens.py
Commit message (Collapse)AuthorAgeFilesLines
* fix: support array types for most resourcesNejc Habjan2022-07-281-2/+4
|
* chore: move `RequiredOptional` to the `gitlab.types` moduleJohn L. Villalovos2022-05-311-1/+2
| | | | | | By having `RequiredOptional` in the `gitlab.base` module it makes it difficult with circular imports. Move it to the `gitlab.types` module which has no dependencies on any other gitlab module.
* feat(objects): support getting project/group deploy tokens by idNejc Habjan2022-04-041-3/+21
|
* chore: rename `types.ListAttribute` to `types.CommaSeparatedListAttribute`John L. Villalovos2022-01-221-2/+2
| | | | | | | | | | | This name more accurately describes what the type is. Also this is the first step in a series of steps of our goal to add full support for the GitLab API data types[1]: * array * hash * array of hashes [1] https://docs.gitlab.com/ee/api/#encoding-api-parameters-of-array-and-hash-types
* refactor: use new-style formatting for named placeholdersNejc Habjan2021-11-081-2/+2
|
* chore: fix import ordering using isortJohn L. Villalovos2021-05-251-1/+0
| | | | | | Fix the import ordering using isort. https://pycqa.github.io/isort/
* fix(objects): allow lists for filters for in all objectsfix/missing-list-attributesNejc Habjan2021-04-271-0/+3
|
* chore: have _create_attrs & _update_attrs be a namedtupleJohn L. Villalovos2021-04-171-7/+7
| | | | | | Convert _create_attrs and _update_attrs to use a NamedTuple (RequiredOptional) to help with code readability. Update all code to use the NamedTuple.
* chore: remove usage of 'from ... import *'John L. Villalovos2021-02-231-2/+2
| | | | | | | | | | | | | | | | | | In gitlab/v4/objects/*.py remove usage of: * from gitlab.base import * * from gitlab.mixins import * Change them to: * from gitlab.base import CLASS_NAME * from gitlab.mixins import CLASS_NAME Programmatically update code to explicitly import needed classes only. After the change the output of: $ flake8 gitlab/v4/objects/*py | grep 'REST\|Mixin' Is empty. Before many messages about unable to determine if it was a valid name.
* refactor(api): explicitly export classes for star importsrefactor/split-objectsNejc Habjan2021-02-071-0/+10
|
* refactor(v4): split objects and managers per API resourceNejc Habjan2021-02-071-0/+51