Loading edge_cloud_management_api/controllers/edge_cloud_controller.py +2 −3 Original line number Diff line number Diff line Loading @@ -31,14 +31,14 @@ class EdgeCloudZone(BaseModel): pattern="^(active|inactive|unknown)$", ) edgeCloudProvider: str = Field(..., description="Name of the Edge Cloud Provider") edgeCloudRegion: str | None = Field(..., description="Region of the Edge Cloud Zone") edgeCloudRegion: str | None = Field(None, description="Region of the Edge Cloud Zone") class EdgeCloudQueryParams(BaseModel): x_correlator: str | None region: str | None status: str | None = Field( ..., None, description="Status of the Edge Cloud Zone", pattern="^(active|inactive|unknown)$", ) Loading Loading @@ -152,4 +152,3 @@ def edge_cloud_zone_details(zoneId: str) -> dict: api_client = pi_edge_factory.create_pi_edge_api_client() result = api_client.edge_cloud_zone_details(zone_id=zoneId) return result Loading
edge_cloud_management_api/controllers/edge_cloud_controller.py +2 −3 Original line number Diff line number Diff line Loading @@ -31,14 +31,14 @@ class EdgeCloudZone(BaseModel): pattern="^(active|inactive|unknown)$", ) edgeCloudProvider: str = Field(..., description="Name of the Edge Cloud Provider") edgeCloudRegion: str | None = Field(..., description="Region of the Edge Cloud Zone") edgeCloudRegion: str | None = Field(None, description="Region of the Edge Cloud Zone") class EdgeCloudQueryParams(BaseModel): x_correlator: str | None region: str | None status: str | None = Field( ..., None, description="Status of the Edge Cloud Zone", pattern="^(active|inactive|unknown)$", ) Loading Loading @@ -152,4 +152,3 @@ def edge_cloud_zone_details(zoneId: str) -> dict: api_client = pi_edge_factory.create_pi_edge_api_client() result = api_client.edge_cloud_zone_details(zone_id=zoneId) return result