
import scrapy


class Part(scrapy.Item):
    name = scrapy.Field()
    site = scrapy.Field()
    manufacturer = scrapy.Field()
    sku = scrapy.Field()
    weight = scrapy.Field()
    # url, price, quantity, stock, description, location, timestamp
    variants = scrapy.Field()


import scrapy


class Part(scrapy.Item):
    name = scrapy.Field()
    site = scrapy.Field()
    manufacturer = scrapy.Field()
    sku = scrapy.Field()
    weight = scrapy.Field()
    # url, price, quantity, stock_state, stock_text, description, location, timestamp
    variants = scrapy.Field()

Update comment to be more specific about stock fields
Update comment to be more specific about stock fields

  
  import scrapy
  
  
  class Part(scrapy.Item):
      name = scrapy.Field()
      site = scrapy.Field()
      manufacturer = scrapy.Field()
      sku = scrapy.Field()
      weight = scrapy.Field()
-     # url, price, quantity, stock, description, location, timestamp
+     # url, price, quantity, stock_state, stock_text, description, location, timestamp
      variants = scrapy.Field()
  
Update comment to be more specific about stock fields
## Code Before:

import scrapy


class Part(scrapy.Item):
    name = scrapy.Field()
    site = scrapy.Field()
    manufacturer = scrapy.Field()
    sku = scrapy.Field()
    weight = scrapy.Field()
    # url, price, quantity, stock, description, location, timestamp
    variants = scrapy.Field()

## Instruction:
Update comment to be more specific about stock fields
## Code After:

import scrapy


class Part(scrapy.Item):
    name = scrapy.Field()
    site = scrapy.Field()
    manufacturer = scrapy.Field()
    sku = scrapy.Field()
    weight = scrapy.Field()
    # url, price, quantity, stock_state, stock_text, description, location, timestamp
    variants = scrapy.Field()
