Excluded controllers on listing
This commit is contained in:
parent
565c662ee2
commit
37b1bd4373
@ -18,7 +18,7 @@ import time
|
|||||||
class JobView(FlaskView):
|
class JobView(FlaskView):
|
||||||
CONTROLLER_HTTP_PORT = 8080 # It's a mediocre idea to hard code this I think
|
CONTROLLER_HTTP_PORT = 8080 # It's a mediocre idea to hard code this I think
|
||||||
job_schema = JobSchema(many=False)
|
job_schema = JobSchema(many=False)
|
||||||
jobs_schema = JobSchema(many=True)
|
jobs_schema = JobSchema(many=True, exclude=["controllers"])
|
||||||
|
|
||||||
@staticmethod
|
@staticmethod
|
||||||
def _get_k8s_stuff_controller(controller: Controller) -> dict:
|
def _get_k8s_stuff_controller(controller: Controller) -> dict:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user