src.data.database.services package

Submodules

src.data.database.services.products_service module

class src.data.database.services.products_service.ProductsService[source]

Bases: object

This class is the service to manage products inside the database. It is a wrapper to manage products, exploiting SqlAlchemy ORM.

add_new_product(product)[source]

Add a new product in the database

Parameters:product (Product) – Product entity to add in the database
get_a_downloaded_product()[source]
get_downloaded_products()[source]
get_downloading_products()[source]
get_pending_products()[source]
get_processed_products()[source]
get_processing_products()[source]
get_products_to_process()[source]
update_product_status(product_name, status)[source]

Module contents