summaryrefslogtreecommitdiff
path: root/gitlab/v4/objects/variables.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/variables.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/variables.py')
-rw-r--r--gitlab/v4/objects/variables.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/gitlab/v4/objects/variables.py b/gitlab/v4/objects/variables.py
index ba425c8..62ea872 100644
--- a/gitlab/v4/objects/variables.py
+++ b/gitlab/v4/objects/variables.py
@@ -6,8 +6,9 @@ https://docs.gitlab.com/ee/api/group_level_variables.html
"""
from typing import Any, cast, Union
-from gitlab.base import RequiredOptional, RESTManager, RESTObject
+from gitlab.base import RESTManager, RESTObject
from gitlab.mixins import CRUDMixin, ObjectDeleteMixin, SaveMixin
+from gitlab.types import RequiredOptional
__all__ = [
"Variable",