<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/python-packages/gitlab.git/tests, branch refactor/decouple-cli-from-custom-args</title>
<subtitle>github.com: gpocentek/python-gitlab.git
</subtitle>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/python-packages/gitlab.git/'/>
<entry>
<title>Merge pull request #2045 from python-gitlab/jlvillal/test_validate_attrs</title>
<updated>2022-06-05T20:57:38+00:00</updated>
<author>
<name>Nejc Habjan</name>
<email>nejc.habjan@siemens.com</email>
</author>
<published>2022-06-05T20:57:38+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/python-packages/gitlab.git/commit/?id=40c9b4f299d3c101bda7fabc89a42ff0f1f0ddc2'/>
<id>40c9b4f299d3c101bda7fabc89a42ff0f1f0ddc2</id>
<content type='text'>
test: add more tests for RequiredOptional</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
test: add more tests for RequiredOptional</pre>
</div>
</content>
</entry>
<entry>
<title>chore: rename `whaction` and `action` to `resource_action` in CLI</title>
<updated>2022-06-05T15:17:15+00:00</updated>
<author>
<name>John L. Villalovos</name>
<email>john@sodarock.com</email>
</author>
<published>2022-06-05T15:17:15+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/python-packages/gitlab.git/commit/?id=fb3f28a053f0dcf0a110bb8b6fd11696b4ba3dd9'/>
<id>fb3f28a053f0dcf0a110bb8b6fd11696b4ba3dd9</id>
<content type='text'>
Rename the variables `whaction` and `action` to `resource_action` to
improve code-readability.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Rename the variables `whaction` and `action` to `resource_action` to
improve code-readability.
</pre>
</div>
</content>
</entry>
<entry>
<title>chore: rename `what` to `gitlab_resource`</title>
<updated>2022-06-04T04:24:58+00:00</updated>
<author>
<name>John L. Villalovos</name>
<email>john@sodarock.com</email>
</author>
<published>2022-06-04T04:21:38+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/python-packages/gitlab.git/commit/?id=c86e471dead930468172f4b7439ea6fa207f12e8'/>
<id>c86e471dead930468172f4b7439ea6fa207f12e8</id>
<content type='text'>
Naming a variable `what` makes it difficult to understand what it is
used for.

Rename it to `gitlab_resource` as that is what is being stored.

The Gitlab documentation talks about them being resources:
https://docs.gitlab.com/ee/api/api_resources.html

This will improve code readability.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Naming a variable `what` makes it difficult to understand what it is
used for.

Rename it to `gitlab_resource` as that is what is being stored.

The Gitlab documentation talks about them being resources:
https://docs.gitlab.com/ee/api/api_resources.html

This will improve code readability.
</pre>
</div>
</content>
</entry>
<entry>
<title>test: increase client coverage</title>
<updated>2022-06-02T14:21:28+00:00</updated>
<author>
<name>Nejc Habjan</name>
<email>nejc.habjan@siemens.com</email>
</author>
<published>2022-06-01T21:29:58+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/python-packages/gitlab.git/commit/?id=00aec96ed0b60720362c6642b416567ff39aef09'/>
<id>00aec96ed0b60720362c6642b416567ff39aef09</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>test: add more tests for RequiredOptional</title>
<updated>2022-06-01T15:34:36+00:00</updated>
<author>
<name>John L. Villalovos</name>
<email>john@sodarock.com</email>
</author>
<published>2022-06-01T15:34:36+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/python-packages/gitlab.git/commit/?id=ce40fde9eeaabb4a30c5a87d9097b1d4eced1c1b'/>
<id>ce40fde9eeaabb4a30c5a87d9097b1d4eced1c1b</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>test(cli): improve coverage for custom actions</title>
<updated>2022-06-01T15:00:51+00:00</updated>
<author>
<name>Nejc Habjan</name>
<email>nejc.habjan@siemens.com</email>
</author>
<published>2022-05-31T23:13:49+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/python-packages/gitlab.git/commit/?id=7327f78073caa2fb8aaa6bf0e57b38dd7782fa57'/>
<id>7327f78073caa2fb8aaa6bf0e57b38dd7782fa57</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>fix(cli): fix project export download for CLI</title>
<updated>2022-06-01T15:00:51+00:00</updated>
<author>
<name>Nejc Habjan</name>
<email>nejc.habjan@siemens.com</email>
</author>
<published>2022-05-31T20:25:59+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/python-packages/gitlab.git/commit/?id=5d1486785793b02038ac6f527219801744ee888b'/>
<id>5d1486785793b02038ac6f527219801744ee888b</id>
<content type='text'>
Since ac1c619cae6481833f5df91862624bf0380fef67 we delete parent arg keys
from the args dict so this has been trying to access the wrong attribute.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Since ac1c619cae6481833f5df91862624bf0380fef67 we delete parent arg keys
from the args dict so this has been trying to access the wrong attribute.
</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://trove.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: 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://trove.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://trove.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>
