summaryrefslogtreecommitdiff
path: root/gitlab/v4/objects/snippets.py
diff options
context:
space:
mode:
authorJohn L. Villalovos <john@sodarock.com>2022-05-31 07:46:37 -0700
committerJohn L. Villalovos <john@sodarock.com>2022-05-31 07:46:37 -0700
commit7d26530640eb406479f1604cb64748d278081864 (patch)
treeaf198b756ca6879f0104be2b0857fa1cfee9e694 /gitlab/v4/objects/snippets.py
parent1f17349826a0516c648db20ae80ac713bab8a160 (diff)
downloadgitlab-7d26530640eb406479f1604cb64748d278081864.tar.gz
chore: move `RequiredOptional` to the `gitlab.types` module
By having `RequiredOptional` in the `gitlab.base` module it makes it difficult with circular imports. Move it to the `gitlab.types` module which has no dependencies on any other gitlab module.
Diffstat (limited to 'gitlab/v4/objects/snippets.py')
-rw-r--r--gitlab/v4/objects/snippets.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/gitlab/v4/objects/snippets.py b/gitlab/v4/objects/snippets.py
index 83b1378..597a3aa 100644
--- a/gitlab/v4/objects/snippets.py
+++ b/gitlab/v4/objects/snippets.py
@@ -5,8 +5,9 @@ import requests
from gitlab import cli
from gitlab import exceptions as exc
from gitlab import utils
-from gitlab.base import RequiredOptional, RESTManager, RESTObject, RESTObjectList
+from gitlab.base import RESTManager, RESTObject, RESTObjectList
from gitlab.mixins import CRUDMixin, ObjectDeleteMixin, SaveMixin, UserAgentDetailMixin
+from gitlab.types import RequiredOptional
from .award_emojis import ProjectSnippetAwardEmojiManager # noqa: F401
from .discussions import ProjectSnippetDiscussionManager # noqa: F401