Skip to content

Commit 62efb88

Browse files
committed
Stricter create_gateway_compute_model annotations
1 parent 13d3048 commit 62efb88

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

  • src/dstack/_internal/server/services/gateways

src/dstack/_internal/server/services/gateways/__init__.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -176,8 +176,8 @@ def create_gateway_compute_model(
176176
project_name: str,
177177
configuration: GatewayConfiguration,
178178
replica_num: int,
179-
gateway_id: Optional[uuid.UUID] = None,
180-
backend_id: Optional[uuid.UUID] = None,
179+
gateway_id: uuid.UUID,
180+
backend_id: uuid.UUID,
181181
) -> GatewayComputeModel:
182182
assert configuration.name is not None
183183

0 commit comments

Comments
 (0)