We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1fbafa8 commit 740355cCopy full SHA for 740355c
datacrunch/instances/instances.py
@@ -456,5 +456,5 @@ def get_availabilities(self, is_spot: bool = None, location_code: str = None) ->
456
:rtype: list
457
"""
458
is_spot = str(is_spot).lower() if is_spot is not None else None
459
- query_params = {'isSpot': is_spot, 'location_code': location_code}
+ query_params = {'isSpot': is_spot, 'locationCode': location_code}
460
return self._http_client.get('/instance-availability', params=query_params).json()
0 commit comments