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/files.py | |
parent | 2373a4f13ee4e5279a424416cdf46782a5627067 (diff) | |
download | gitlab-6b47c26d053fe352d68eb22a1eaf4b9a3c1c93e7.tar.gz |
feat: display human-readable attribute in `repr()` if present
Diffstat (limited to 'gitlab/v4/objects/files.py')
-rw-r--r-- | gitlab/v4/objects/files.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gitlab/v4/objects/files.py b/gitlab/v4/objects/files.py index 435e71b..e5345ce 100644 --- a/gitlab/v4/objects/files.py +++ b/gitlab/v4/objects/files.py @@ -24,7 +24,7 @@ __all__ = [ class ProjectFile(SaveMixin, ObjectDeleteMixin, RESTObject): _id_attr = "file_path" - _short_print_attr = "file_path" + _repr_attr = "file_path" file_path: str manager: "ProjectFileManager" |