diff options
| author | Gauvain Pocentek <gauvain@pocentek.net> | 2017-08-04 10:25:40 +0200 |
|---|---|---|
| committer | Gauvain Pocentek <gauvain@pocentek.net> | 2017-08-04 10:27:59 +0200 |
| commit | d7c79113a4dd4f23789ac8adb17add590929ae53 (patch) | |
| tree | 0783d085b2fd3eb302b3fa831263eb67ab91d11a /docs | |
| parent | c15ba3b61065973da983ff792a34268a3ba75e12 (diff) | |
| download | gitlab-d7c79113a4dd4f23789ac8adb17add590929ae53.tar.gz | |
functional tests for v4
Update the python tests for v4, and fix the problems raised when running
those tests.
Diffstat (limited to 'docs')
| -rw-r--r-- | docs/switching-to-v4.rst | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/docs/switching-to-v4.rst b/docs/switching-to-v4.rst index fcec8a8..fb2b978 100644 --- a/docs/switching-to-v4.rst +++ b/docs/switching-to-v4.rst @@ -115,11 +115,17 @@ following important changes in the python API: + :attr:`~gitlab.Gitlab.http_put` + :attr:`~gitlab.Gitlab.http_delete` +* The users ``get_by_username`` method has been removed. It doesn't exist in + the GitLab API. You can use the ``username`` filter attribute when listing to + get a similar behavior: + + .. code-block:: python + + user = list(gl.users.list(username='jdoe'))[0] + Undergoing work =============== -* The ``delete()`` method for objects is not yet available. For now you need to - use ``manager.delete(obj.id)``. * The ``page`` and ``per_page`` arguments for listing don't behave as they used to. Their behavior will be restored. |
