File tree Expand file tree Collapse file tree
src/dstack/_internal/core/backends Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -28,9 +28,7 @@ class LocalCompute(
2828 ComputeWithVolumeSupport ,
2929 Compute ,
3030):
31- def get_offers (
32- self , requirements : Requirements
33- ) -> List [InstanceOfferWithAvailability ]:
31+ def get_offers (self , requirements : Requirements ) -> List [InstanceOfferWithAvailability ]:
3432 return [
3533 InstanceOfferWithAvailability (
3634 backend = BackendType .LOCAL ,
Original file line number Diff line number Diff line change @@ -39,9 +39,7 @@ def __init__(self, config: TensorDockConfig):
3939 self .config = config
4040 self .api_client = TensorDockAPIClient (config .creds .api_key , config .creds .api_token )
4141
42- def get_offers (
43- self , requirements : Requirements
44- ) -> List [InstanceOfferWithAvailability ]:
42+ def get_offers (self , requirements : Requirements ) -> List [InstanceOfferWithAvailability ]:
4543 offers = get_catalog_offers (
4644 backend = BackendType .TENSORDOCK ,
4745 requirements = requirements ,
You can’t perform that action at this time.
0 commit comments