Skip to content

Commit 9a230f7

Browse files
committed
Remove pk and status from serializer fields
1 parent 0b8f505 commit 9a230f7

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

app/grandchallenge/algorithms/serializers.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -361,7 +361,7 @@ class InvocationPostSerializer(serializers.ModelSerializer):
361361

362362
class Meta:
363363
model = Invocation
364-
fields = ["pk", "endpoint", "time_limit", "inputs", "status"]
364+
fields = ["endpoint", "time_limit", "inputs"]
365365
extra_kwargs = {
366366
"time_limit": {
367367
"default": settings.ALGORITHM_ENDPOINTS_MAXIMUM_INVOCATION_DURATION,

0 commit comments

Comments
 (0)