From 83c4f88816ff60048391436461aca42c59b84f0d Mon Sep 17 00:00:00 2001 From: TheBurchLog <5104941+TheBurchLog@users.noreply.github.com> Date: Mon, 22 Jan 2024 12:27:18 -0500 Subject: [PATCH] Removing Garden Connection Type --- brewtils/models.py | 5 +---- brewtils/schemas.py | 1 - brewtils/test/fixtures.py | 1 - 3 files changed, 1 insertion(+), 6 deletions(-) diff --git a/brewtils/models.py b/brewtils/models.py index 5e2fbe6f..5c55488a 100644 --- a/brewtils/models.py +++ b/brewtils/models.py @@ -1452,7 +1452,6 @@ def __init__( status_info=None, namespaces=None, systems=None, - connection_type=None, receiving_connections=None, publishing_connections=None, has_parent=None, @@ -1467,7 +1466,6 @@ def __init__( self.namespaces = namespaces or [] self.systems = systems or [] - self.connection_type = connection_type self.receiving_connections = receiving_connections or [] self.publishing_connections = publishing_connections or [] @@ -1482,13 +1480,12 @@ def __str__(self): def __repr__(self): return ( "" + "receiving_connections=%s, publishing_connections=%s>" % ( self.name, self.status, self.parent, self.has_parent, - self.connection_type, self.receiving_connections, self.publishing_connections, ) diff --git a/brewtils/schemas.py b/brewtils/schemas.py index 67d84d28..77f429f7 100644 --- a/brewtils/schemas.py +++ b/brewtils/schemas.py @@ -501,7 +501,6 @@ class GardenSchema(BaseSchema): name = fields.Str(allow_none=True) status = fields.Str(allow_none=True) status_info = fields.Nested("StatusInfoSchema", allow_none=True) - connection_type = fields.Str(allow_none=True) receiving_connections = fields.Nested( "ConnectionSchema", many=True, allow_none=True ) diff --git a/brewtils/test/fixtures.py b/brewtils/test/fixtures.py index a55ff6f1..02d10880 100644 --- a/brewtils/test/fixtures.py +++ b/brewtils/test/fixtures.py @@ -781,7 +781,6 @@ def garden_dict(ts_epoch, system_dict, connection_dict): "status_info": {}, "namespaces": [system_dict["namespace"]], "systems": [system_dict], - "connection_type": "http", "receiving_connections": [connection_dict], "publishing_connections": [connection_dict], "parent": None,