diff options
author | Nejc Habjan <nejc.habjan@siemens.com> | 2022-05-07 22:50:11 +0200 |
---|---|---|
committer | John Villalovos <john@sodarock.com> | 2022-05-08 09:47:13 -0700 |
commit | 6b47c26d053fe352d68eb22a1eaf4b9a3c1c93e7 (patch) | |
tree | 4728804ac977fa74888beb47ef8759c7744d9a55 /gitlab/v4/objects/applications.py | |
parent | 2373a4f13ee4e5279a424416cdf46782a5627067 (diff) | |
download | gitlab-6b47c26d053fe352d68eb22a1eaf4b9a3c1c93e7.tar.gz |
feat: display human-readable attribute in `repr()` if present
Diffstat (limited to 'gitlab/v4/objects/applications.py')
-rw-r--r-- | gitlab/v4/objects/applications.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gitlab/v4/objects/applications.py b/gitlab/v4/objects/applications.py index c91dee1..926d189 100644 --- a/gitlab/v4/objects/applications.py +++ b/gitlab/v4/objects/applications.py @@ -9,7 +9,7 @@ __all__ = [ class Application(ObjectDeleteMixin, RESTObject): _url = "/applications" - _short_print_attr = "name" + _repr_attr = "name" class ApplicationManager(ListMixin, CreateMixin, DeleteMixin, RESTManager): |