Run black

This commit is contained in:
2022-07-16 21:00:17 +02:00
parent 24af738ad4
commit 49b7aac807
8 changed files with 34 additions and 34 deletions

View File

@@ -15,17 +15,13 @@ class RosterGet(RetrieveAPIView):
serializer_class = RollingStockSerializer
lookup_field = "uuid"
schema = AutoSchema(
operation_id_base="retrieveRollingStockByUUID"
)
schema = AutoSchema(operation_id_base="retrieveRollingStockByUUID")
class RosterAddress(ListAPIView):
serializer_class = RollingStockSerializer
schema = AutoSchema(
operation_id_base="retrieveRollingStockByAddress"
)
schema = AutoSchema(operation_id_base="retrieveRollingStockByAddress")
def get_queryset(self):
address = self.kwargs["address"]
@@ -35,9 +31,7 @@ class RosterAddress(ListAPIView):
class RosterClass(ListAPIView):
serializer_class = RollingStockSerializer
schema = AutoSchema(
operation_id_base="retrieveRollingStockByClass"
)
schema = AutoSchema(operation_id_base="retrieveRollingStockByClass")
def get_queryset(self):
_class = self.kwargs["class"]