<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/python-packages/gitlab.git/gitlab/utils.py, branch renovate/gitlab</title>
<subtitle>github.com: gpocentek/python-gitlab.git
</subtitle>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/gitlab.git/'/>
<entry>
<title>fix(client): properly parse content-type when charset is present</title>
<updated>2023-03-12T17:09:58+00:00</updated>
<author>
<name>Nejc Habjan</name>
<email>nejc.habjan@siemens.com</email>
</author>
<published>2023-03-12T16:28:15+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/gitlab.git/commit/?id=76063c386ef9caf84ba866515cb053f6129714d9'/>
<id>76063c386ef9caf84ba866515cb053f6129714d9</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>chore: consolidate license and authors</title>
<updated>2022-08-05T06:14:14+00:00</updated>
<author>
<name>Nejc Habjan</name>
<email>nejc.habjan@siemens.com</email>
</author>
<published>2022-08-04T22:14:55+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/gitlab.git/commit/?id=366665e89045eb24d47f730e2a5dea6229839e20'/>
<id>366665e89045eb24d47f730e2a5dea6229839e20</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>chore: enable mypy check `disallow_any_generics`</title>
<updated>2022-08-01T07:29:18+00:00</updated>
<author>
<name>John L. Villalovos</name>
<email>john@sodarock.com</email>
</author>
<published>2022-08-01T07:29:18+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/gitlab.git/commit/?id=24d17b43da16dd11ab37b2cee561d9392c90f32e'/>
<id>24d17b43da16dd11ab37b2cee561d9392c90f32e</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>fix: use the [] after key names for array variables in `params`</title>
<updated>2022-07-27T23:08:25+00:00</updated>
<author>
<name>John L. Villalovos</name>
<email>john@sodarock.com</email>
</author>
<published>2022-07-27T23:08:25+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/gitlab.git/commit/?id=1af44ce8761e6ee8a9467a3e192f6c4d19e5cefe'/>
<id>1af44ce8761e6ee8a9467a3e192f6c4d19e5cefe</id>
<content type='text'>
1. If a value is of type ArrayAttribute then append '[]' to the name
   of the value for query parameters (`params`).

This is step 3 in a series of steps of our goal to add full
support for the GitLab API data types[1]:
  * array
  * hash
  * array of hashes

Step one was: commit 5127b1594c00c7364e9af15e42d2e2f2d909449b
Step two was: commit a57334f1930752c70ea15847a39324fa94042460

Fixes: #1698

[1] https://docs.gitlab.com/ee/api/#encoding-api-parameters-of-array-and-hash-types
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
1. If a value is of type ArrayAttribute then append '[]' to the name
   of the value for query parameters (`params`).

This is step 3 in a series of steps of our goal to add full
support for the GitLab API data types[1]:
  * array
  * hash
  * array of hashes

Step one was: commit 5127b1594c00c7364e9af15e42d2e2f2d909449b
Step two was: commit a57334f1930752c70ea15847a39324fa94042460

Fixes: #1698

[1] https://docs.gitlab.com/ee/api/#encoding-api-parameters-of-array-and-hash-types
</pre>
</div>
</content>
</entry>
<entry>
<title>refactor: avoid possible breaking change in iterator (#2107)</title>
<updated>2022-06-27T19:53:49+00:00</updated>
<author>
<name>John Villalovos</name>
<email>john@sodarock.com</email>
</author>
<published>2022-06-27T19:53:49+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/gitlab.git/commit/?id=212ddfc9e9c5de50d2507cc637c01ceb31aaba41'/>
<id>212ddfc9e9c5de50d2507cc637c01ceb31aaba41</id>
<content type='text'>
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.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
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.</pre>
</div>
</content>
</entry>
<entry>
<title>feat(downloads): allow streaming downloads access to response iterator (#1956)</title>
<updated>2022-06-26T06:29:13+00:00</updated>
<author>
<name>Tom Catshoek</name>
<email>tomcatshoek@zeelandnet.nl</email>
</author>
<published>2022-06-26T06:29:13+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/gitlab.git/commit/?id=b6447211754e126f64e12fc735ad74fe557b7fb4'/>
<id>b6447211754e126f64e12fc735ad74fe557b7fb4</id>
<content type='text'>
* 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</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* 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</pre>
</div>
</content>
</entry>
<entry>
<title>chore: move `utils._validate_attrs` inside `types.RequiredOptional`</title>
<updated>2022-06-01T00:54:59+00:00</updated>
<author>
<name>John L. Villalovos</name>
<email>john@sodarock.com</email>
</author>
<published>2022-06-01T00:54:59+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/gitlab.git/commit/?id=9d629bb97af1e14ce8eb4679092de2393e1e3a05'/>
<id>9d629bb97af1e14ce8eb4679092de2393e1e3a05</id>
<content type='text'>
Move the `validate_attrs` function to be inside the `RequiredOptional`
class. It makes sense for it to be part of the class as it is working
on data related to the class.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Move the `validate_attrs` function to be inside the `RequiredOptional`
class. It makes sense for it to be part of the class as it is working
on data related to the class.
</pre>
</div>
</content>
</entry>
<entry>
<title>chore: remove use of '%' string formatter in `gitlab/utils.py`</title>
<updated>2022-06-01T00:43:22+00:00</updated>
<author>
<name>John L. Villalovos</name>
<email>john@sodarock.com</email>
</author>
<published>2022-06-01T00:43:22+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/gitlab.git/commit/?id=0c5a1213ba3bb3ec4ed5874db4588d21969e9e80'/>
<id>0c5a1213ba3bb3ec4ed5874db4588d21969e9e80</id>
<content type='text'>
Replace usage with f-string
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Replace usage with f-string
</pre>
</div>
</content>
</entry>
<entry>
<title>chore: have `EncodedId` creation always return `EncodedId`</title>
<updated>2022-05-31T23:07:42+00:00</updated>
<author>
<name>John L. Villalovos</name>
<email>john@sodarock.com</email>
</author>
<published>2022-05-31T23:07:42+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/gitlab.git/commit/?id=a1a246fbfcf530732249a263ee42757a862181aa'/>
<id>a1a246fbfcf530732249a263ee42757a862181aa</id>
<content type='text'>
There is no reason to return an `int` as we can always return a `str`
version of the `int`

Change `EncodedId` to always return an `EncodedId`. This removes the
need to have `mypy` ignore the error raised.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
There is no reason to return an `int` as we can always return a `str`
version of the `int`

Change `EncodedId` to always return an `EncodedId`. This removes the
need to have `mypy` ignore the error raised.
</pre>
</div>
</content>
</entry>
<entry>
<title>feat: support mutually exclusive attributes and consolidate validation to fix board lists (#2037)</title>
<updated>2022-05-31T19:36:14+00:00</updated>
<author>
<name>Walter Rowe</name>
<email>walter.rowe@gmail.com</email>
</author>
<published>2022-05-31T19:36:14+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/gitlab.git/commit/?id=3fa330cc341bbedb163ba757c7f6578d735c6efb'/>
<id>3fa330cc341bbedb163ba757c7f6578d735c6efb</id>
<content type='text'>
add exclusive tuple to RequiredOptional data class to support for
mutually exclusive attributes

consolidate _check_missing_create_attrs and _check_missing_update_attrs
from mixins.py into _validate_attrs in utils.py

change _create_attrs in board list manager classes from
required=('label_ld',) to
exclusive=('label_id','asignee_id','milestone_id')

closes https://github.com/python-gitlab/python-gitlab/issues/1897</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
add exclusive tuple to RequiredOptional data class to support for
mutually exclusive attributes

consolidate _check_missing_create_attrs and _check_missing_update_attrs
from mixins.py into _validate_attrs in utils.py

change _create_attrs in board list manager classes from
required=('label_ld',) to
exclusive=('label_id','asignee_id','milestone_id')

closes https://github.com/python-gitlab/python-gitlab/issues/1897</pre>
</div>
</content>
</entry>
</feed>
