From 660403409297da063c90e946324456fe3024f42c Mon Sep 17 00:00:00 2001 From: Abhishek Jadhav Date: Sat, 27 Sep 2025 23:56:46 +0530 Subject: [PATCH] Removed list to set and created a set directly --- awscli/__init__.py | 25 ++++++++++++------------- 1 file changed, 12 insertions(+), 13 deletions(-) diff --git a/awscli/__init__.py b/awscli/__init__.py index 31629d0ed481..ede7115546ee 100644 --- a/awscli/__init__.py +++ b/awscli/__init__.py @@ -41,16 +41,15 @@ } -SCALAR_TYPES = set( - [ - 'string', - 'float', - 'integer', - 'long', - 'boolean', - 'double', - 'blob', - 'timestamp', - ] -) -COMPLEX_TYPES = set(['structure', 'map', 'list']) +SCALAR_TYPES = { + 'string', + 'float', + 'integer', + 'long', + 'boolean', + 'double', + 'blob', + 'timestamp' +} + +COMPLEX_TYPES = {'structure', 'map', 'list'}