We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d2b2485 commit 8b5638eCopy full SHA for 8b5638e
packages/aws-library/src/aws_library/ec2/_client.py
@@ -86,10 +86,9 @@ async def get_ec2_instance_capabilities(
86
selected_instance_types = []
87
else:
88
selected_instance_types = list(instance_type_names)
89
-
90
- if len(selected_instance_types) == 0:
91
- msg = "`instance_type_names` cannot be an empty set. Set as None if all"
92
- raise ValueError(msg)
+ if len(selected_instance_types) == 0:
+ msg = "`instance_type_names` cannot be an empty set. Set as None if all"
+ raise ValueError(msg)
93
94
instance_types = await self.client.describe_instance_types(
95
InstanceTypes=selected_instance_types
0 commit comments