Hello,
Can you tell me please why the specific model model.Product used here with the abstract repository AbstractRepository but not some abstract or base model?
code/src/allocation/adapters/repository.py:
|
def get(self, sku) -> model.Product: |
|
def _add(self, product: model.Product): |
|
def _get(self, sku) -> model.Product: |
|
def _get_by_batchref(self, batchref) -> model.Product: |