Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adds full CRUD opperations to clusters endpoint #59

Merged
merged 2 commits into from
Nov 22, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions keystone_api/apps/allocations/views.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@
__all__ = ['AllocationViewSet', 'ClusterViewSet', 'ProposalViewSet', 'ProposalReviewViewSet']


class ClusterViewSet(viewsets.ReadOnlyModelViewSet):
"""Read-only JSON ViewSet for querying cluster database records."""
class ClusterViewSet(viewsets.ModelViewSet):
"""System settings and configuration for managed Slurm clusters."""

queryset = Cluster.objects.all()
serializer_class = ClusterSerializer
Expand Down
1 change: 0 additions & 1 deletion keystone_api/apps/research_products/views.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
View objects handle the processing of incoming HTTP requests and return the
appropriately rendered HTML template or other HTTP response.
"""
from typing import overload

from rest_framework import viewsets

Expand Down
Loading