@@ -24,10 +24,8 @@ class GroupExportManager(GetWithoutIdMixin, CreateMixin, RESTManager):
2424_obj_cls = GroupExport
2525_from_parent_attrs = {"group_id" :"id" }
2626
27- def get (
28- self ,id :Optional [Union [int ,str ]]= None ,** kwargs :Any
29- )-> Optional [GroupExport ]:
30- return cast (Optional [GroupExport ],super ().get (id = id ,** kwargs ))
27+ def get (self ,id :Optional [Union [int ,str ]]= None ,** kwargs :Any )-> GroupExport :
28+ return cast (GroupExport ,super ().get (id = id ,** kwargs ))
3129
3230
3331class GroupImport (RESTObject ):
@@ -39,10 +37,8 @@ class GroupImportManager(GetWithoutIdMixin, RESTManager):
3937_obj_cls = GroupImport
4038_from_parent_attrs = {"group_id" :"id" }
4139
42- def get (
43- self ,id :Optional [Union [int ,str ]]= None ,** kwargs :Any
44- )-> Optional [GroupImport ]:
45- return cast (Optional [GroupImport ],super ().get (id = id ,** kwargs ))
40+ def get (self ,id :Optional [Union [int ,str ]]= None ,** kwargs :Any )-> GroupImport :
41+ return cast (GroupImport ,super ().get (id = id ,** kwargs ))
4642
4743
4844class ProjectExport (DownloadMixin ,RefreshMixin ,RESTObject ):
@@ -55,10 +51,8 @@ class ProjectExportManager(GetWithoutIdMixin, CreateMixin, RESTManager):
5551_from_parent_attrs = {"project_id" :"id" }
5652_create_attrs = RequiredOptional (optional = ("description" ,))
5753
58- def get (
59- self ,id :Optional [Union [int ,str ]]= None ,** kwargs :Any
60- )-> Optional [ProjectExport ]:
61- return cast (Optional [ProjectExport ],super ().get (id = id ,** kwargs ))
54+ def get (self ,id :Optional [Union [int ,str ]]= None ,** kwargs :Any )-> ProjectExport :
55+ return cast (ProjectExport ,super ().get (id = id ,** kwargs ))
6256
6357
6458class ProjectImport (RefreshMixin ,RESTObject ):
@@ -70,7 +64,5 @@ class ProjectImportManager(GetWithoutIdMixin, RESTManager):
7064_obj_cls = ProjectImport
7165_from_parent_attrs = {"project_id" :"id" }
7266
73- def get (
74- self ,id :Optional [Union [int ,str ]]= None ,** kwargs :Any
75- )-> Optional [ProjectImport ]:
76- return cast (Optional [ProjectImport ],super ().get (id = id ,** kwargs ))
67+ def get (self ,id :Optional [Union [int ,str ]]= None ,** kwargs :Any )-> ProjectImport :
68+ return cast (ProjectImport ,super ().get (id = id ,** kwargs ))