October 2018
Beginner to intermediate
736 pages
17h 39m
English
Artisans have a similar data persistence need for Product object data:
As an Artisan, I need to be able to create, manage, and store Product data, so that I can keep product information current in the central office system
The hms_artisan..Product class, like the Artisan class of the package, leverages its corresponding hms_core base class (BaseProduct) and the JSONFileDataObject ABC to minimize the amount of actual code needed in the concrete implementation.
In fact, the only real differences are in the __init__ method (with different arguments, and calling a different parent initialization method set):
def __init__(self, # - Required arguments from BaseProduct name:(str,), summary:(str,), available:(bool,), store_available:(bool,), ...