Skip to content

Commit 1ffc4a3

Browse files
authored
Add identifier to the schema so that it's imported properly (#184)
1 parent 83ebced commit 1ffc4a3

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

server/src/api/schemas.py

+5-4
Original file line numberDiff line numberDiff line change
@@ -24,12 +24,13 @@
2424
class AgentIn(Schema):
2525
"""Agent data input schema"""
2626

27-
state = fields.String(required=False)
28-
queues = fields.List(fields.String(), required=False)
29-
location = fields.String(required=False)
30-
provision_type = fields.String(required=False)
27+
identifier = fields.String(required=False)
3128
job_id = fields.String(required=False)
29+
location = fields.String(required=False)
3230
log = fields.List(fields.String(), required=False)
31+
provision_type = fields.String(required=False)
32+
queues = fields.List(fields.String(), required=False)
33+
state = fields.String(required=False)
3334

3435

3536
class AgentOut(Schema):

0 commit comments

Comments
 (0)