"""
    Contains implementation of the Sale class
"""
from datetime import datetime
class Sale:
    def __init__(self, product_id, products_sold, seller_id=None):
        self.sale_id = None
        self.product_id = product_id
        self.products_sold = products_sold
        self.seller_id = seller_id
        self.sale_date = str(datetime.now().date())

cd62a377d0f46f54b90d75eb6d8e4395cccb9d67
<mask token>

<mask token>


class Sale:
    <mask token>

<mask token>


class Sale:

    def __init__(self, product_id, products_sold, seller_id=None):
        self.sale_id = None
        self.product_id = product_id
        self.products_sold = products_sold
        self.seller_id = seller_id
        self.sale_date = str(datetime.now().date())

<mask token>
from datetime import datetime


class Sale:

    def __init__(self, product_id, products_sold, seller_id=None):
        self.sale_id = None
        self.product_id = product_id
        self.products_sold = products_sold
        self.seller_id = seller_id
        self.sale_date = str(datetime.now().date())

"""
    Contains implementation of the Sale class
"""
from datetime import datetime
class Sale:
    def __init__(self, product_id, products_sold, seller_id=None):
        self.sale_id = None
        self.product_id = product_id
        self.products_sold = products_sold
        self.seller_id = seller_id
        self.sale_date = str(datetime.now().date())
