We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent fc09fed commit b8e3747Copy full SHA for b8e3747
datacrunch/instances/instances.py
@@ -288,7 +288,7 @@ def get(self, status: str = None) -> List[Instance]:
288
id=instance_dict['id'],
289
instance_type=instance_dict['instance_type'],
290
image=instance_dict['image'],
291
- price_per_hour=instance_dict['price_per_hour'],
+ price_per_hour=instance_dict['price_per_hour'] if 'price_per_hour' in instance_dict else None,
292
location=instance_dict['location'],
293
hostname=instance_dict['hostname'],
294
description=instance_dict['description'],
0 commit comments