summaryrefslogtreecommitdiff
path: root/gitlab/v4/objects/artifacts.py
Commit message (Collapse)AuthorAgeFilesLines
* chore: enable mypy check `disallow_any_generics`John L. Villalovos2022-08-011-2/+2
|
* refactor: avoid possible breaking change in iterator (#2107)John Villalovos2022-06-271-4/+10
| | | | | | | | Commit b6447211754e126f64e12fc735ad74fe557b7fb4 inadvertently introduced a possible breaking change as it added a new argument `iterator` and added it in between existing (potentially positional) arguments. This moves the `iterator` argument to the end of the argument list and requires it to be a keyword-only argument.
* feat(downloads): allow streaming downloads access to response iterator (#1956)Tom Catshoek2022-06-261-6/+16
| | | | | | | | | | | | | | | * feat(downloads): allow streaming downloads access to response iterator Allow access to the underlying response iterator when downloading in streaming mode by specifying `iterator=True`. Update type annotations to support this change. * docs(api-docs): add iterator example to artifact download Document the usage of the `iterator=True` option when downloading artifacts * test(packages): add tests for streaming downloads
* feat(artifacts): add support for project artifacts delete APINejc Habjan2022-02-101-0/+17
|
* chore: create a custom `warnings.warn` wrapperJohn L. Villalovos2022-02-061-5/+6
| | | | | | | Create a custom `warnings.warn` wrapper that will walk the stack trace to find the first frame outside of the `gitlab/` path to print the warning against. This will make it easier for users to find where in their code the error is generated from
* style(objects): add spacing to docstringsNejc Habjan2022-02-011-1/+10
|
* feat(objects): add a complete artifacts managerNejc Habjan2022-02-011-0/+124