-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add docstrings for the andromeda app
- Loading branch information
1 parent
376dae2
commit 4fab5b1
Showing
5 changed files
with
49 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,9 @@ | ||
"""App for the andromeda integration.""" | ||
|
||
from django.apps import AppConfig | ||
|
||
|
||
class AndromedaConfig(AppConfig): | ||
"""AppConfig for the andromeda integration.""" | ||
|
||
name = "andromeda" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,16 @@ | ||
"""Serializers for the andromeda integration.""" | ||
|
||
from rest_framework import serializers | ||
|
||
|
||
class JobSubmitSerializer(serializers.Serializer): | ||
"""Serializer for job submissions associated with a challenge id.""" | ||
|
||
challenge_id = serializers.IntegerField() | ||
job_spec = serializers.JSONField() | ||
|
||
|
||
class JobSubmitRawSerializer(serializers.Serializer): | ||
"""Serializer for job submissions.""" | ||
|
||
job_spec = serializers.JSONField() |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,4 @@ | ||
"""URL routes for the andromeda integration.""" | ||
from django.urls import path | ||
|
||
from andromeda import views | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters