summaryrefslogtreecommitdiff
path: root/gitlab/v4/objects/notes.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/notes.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/notes.py')
-rw-r--r--gitlab/v4/objects/notes.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/gitlab/v4/objects/notes.py b/gitlab/v4/objects/notes.py
index 833f632..06605bc 100644
--- a/gitlab/v4/objects/notes.py
+++ b/gitlab/v4/objects/notes.py
@@ -1,6 +1,6 @@
from typing import Any, cast, Union
-from gitlab.base import RequiredOptional, RESTManager, RESTObject
+from gitlab.base import RESTManager, RESTObject
from gitlab.mixins import (
CreateMixin,
CRUDMixin,
@@ -11,6 +11,7 @@ from gitlab.mixins import (
SaveMixin,
UpdateMixin,
)
+from gitlab.types import RequiredOptional
from .award_emojis import ( # noqa: F401
GroupEpicNoteAwardEmojiManager,