Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
A
AlekSIS-App-Cursus
Manage
Activity
Members
Labels
Plan
Issues
9
Issue boards
Milestones
Code
Merge requests
9
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Model registry
Operate
Terraform modules
Monitor
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
AlekSIS®
Onboarding
AlekSIS-App-Cursus
Merge requests
!53
Resolve "Remove CourseInterface"
Code
Review changes
Check out branch
Download
Patches
Plain diff
Merged
Resolve "Remove CourseInterface"
25-remove-courseinterface
into
master
Overview
0
Commits
1
Pipelines
2
Changes
1
Merged
permcu
requested to merge
25-remove-courseinterface
into
master
6 months ago
Overview
0
Commits
1
Pipelines
2
Changes
1
Expand
Closes
#25 (closed)
0
0
Merge request reports
Compare
master
master (base)
and
latest version
latest version
fc444711
1 commit,
6 months ago
1 file
+
0
−
11
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
aleksis/apps/cursus/schema.py
+
0
−
11
Options
@@ -98,20 +98,9 @@ class SubjectBatchPatchMutation(PermissionBatchPatchMixin, DjangoBatchPatchMutat
)
class
CourseInterface
(
graphene
.
Interface
):
id
=
graphene
.
ID
()
# noqa: A003
course_id
=
graphene
.
ID
()
name
=
graphene
.
String
()
subject
=
graphene
.
Field
(
SubjectType
)
teachers
=
graphene
.
List
(
GraphQLPersonType
)
groups
=
graphene
.
List
(
GraphQLGroupType
)
lesson_quota
=
graphene
.
Int
()
class
CourseType
(
PermissionsTypeMixin
,
DjangoFilterMixin
,
DjangoObjectType
):
class
Meta
:
model
=
Course
interfaces
=
(
CourseInterface
,)
fields
=
(
"
id
"
,
"
name
"
,
"
subject
"
,
"
teachers
"
,
"
groups
"
,
"
lesson_quota
"
)
filter_fields
=
{
"
id
"
:
[
"
exact
"
],
Loading