def get(self): networks = list(Network.objects()) if not networks: abort(404, "networks not found") return networks