l = [value for value in vehicles_data_to_add.values() if isinstance(value, dict) ]
#>>> vehicles_data_to_add = { "city_id": "11", "tenant_id": "12", "origin_id": "13", "visual_id": "werf", #"plate_number": "asfg", "make": "adsf", "model":"sadfdre", "color": "ader", "year": "adsfgf",
#"is_electric": "true", "vehicle_type": "type", "status": "status", "status_description": {"status_description": "desc"}, #"capacity": "wrtgh", "max_capacity": "5", "regular_capacity": "4", "wheelchair_capacity": "7", "infants_capacity": #"23", "vendor": "vendor", "user_id": "user_id", "user_name": "User" }
#>>> l = [value for value in vehicles_data_to_add.values() if isinstance(value, dict)]
#>>> l
#[{'status_description': 'desc'}]
#>>>