Skip to content

Commit

Permalink
Use Replication Id
Browse files Browse the repository at this point in the history
  • Loading branch information
TheBurchLog committed Jun 20, 2024
1 parent 242af13 commit 6304ad6
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
2 changes: 2 additions & 0 deletions brewtils/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -1210,6 +1210,7 @@ def __init__(
max_instances=None,
timeout=None,
replication=None,
replication_id=None,
):
self.id = id
self.name = name
Expand All @@ -1227,6 +1228,7 @@ def __init__(
self.max_instances = max_instances
self.timeout = timeout
self.replication = replication
self.replication_id = replication_id

def __str__(self):
return "%s: %s" % (self.name, self.id)
Expand Down
1 change: 1 addition & 0 deletions brewtils/schemas.py
Original file line number Diff line number Diff line change
Expand Up @@ -546,6 +546,7 @@ class JobSchema(BaseSchema):
max_instances = fields.Int(allow_none=True)
timeout = fields.Int(allow_none=True)
replication = fields.Nested("ReplicationSchema", allow_none=True)
replication_id = fields.Str(allow_none=True)


class JobExportInputSchema(BaseSchema):
Expand Down

0 comments on commit 6304ad6

Please sign in to comment.