From 15aec1f5cabcdc0a6bed70feed261b181e8a1372 Mon Sep 17 00:00:00 2001 From: Simone Spinelli <simone.spinelli@geant.org> Date: Tue, 4 Apr 2023 11:07:57 +0200 Subject: [PATCH] More cleanup of syntax and whitespaces --- .../products/product_types/device.py | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/geant_service_orchestrator/products/product_types/device.py b/geant_service_orchestrator/products/product_types/device.py index fc7ae919..a630d2b3 100644 --- a/geant_service_orchestrator/products/product_types/device.py +++ b/geant_service_orchestrator/products/product_types/device.py @@ -7,11 +7,13 @@ from geant_service_orchestrator.products.product_blocks.device \ class DeviceType(strEnum): router = "router" - switch= "switch" + switch = "switch" + class DeviceVendor(strEnum): Juniper = "juniper" - Newvendor= "newvendor" + Newvendor = "newvendor" + class DeviceInactive(SubscriptionModel, is_base=True): device_type: DeviceType @@ -19,7 +21,8 @@ class DeviceInactive(SubscriptionModel, is_base=True): device: DeviceBlockInactive -class DeviceProvisioning(DeviceInactive, lifecycle=[SubscriptionLifecycle.PROVISIONING]): +class DeviceProvisioning(DeviceInactive, + lifecycle=[SubscriptionLifecycle.PROVISIONING]): device_type: DeviceType device_vendor: DeviceVendor device: DeviceBlockProvisioning -- GitLab