summaryrefslogtreecommitdiff
path: root/gitlab/v4/objects/snippets.py
diff options
context:
space:
mode:
Diffstat (limited to 'gitlab/v4/objects/snippets.py')
-rw-r--r--gitlab/v4/objects/snippets.py9
1 files changed, 4 insertions, 5 deletions
diff --git a/gitlab/v4/objects/snippets.py b/gitlab/v4/objects/snippets.py
index b893eca..164b30c 100644
--- a/gitlab/v4/objects/snippets.py
+++ b/gitlab/v4/objects/snippets.py
@@ -77,11 +77,10 @@ class SnippetManager(CRUDMixin, RESTManager):
class ProjectSnippet(UserAgentDetailMixin, SaveMixin, ObjectDeleteMixin, RESTObject):
_url = "/projects/%(project_id)s/snippets"
_short_print_attr = "title"
- _managers = (
- ("awardemojis", "ProjectSnippetAwardEmojiManager"),
- ("discussions", "ProjectSnippetDiscussionManager"),
- ("notes", "ProjectSnippetNoteManager"),
- )
+
+ awardemojis: ProjectSnippetAwardEmojiManager
+ discussions: ProjectSnippetDiscussionManager
+ notes: ProjectSnippetNoteManager
@cli.register_custom_action("ProjectSnippet")
@exc.on_http_error(exc.GitlabGetError)