Extract values from csv and passed in a class

for item in items:
Item(
name=item.get(‘name’),
price=float(item.get(‘price’)),
quantity=int(item.get(‘quantity’)),
)