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: |
Hello,
Can you tell me please why the specific model
model.Productused here with the abstract repositoryAbstractRepositorybut not some abstract or base model?code/src/allocation/adapters/repository.py:
code/src/allocation/adapters/repository.py
Line 15 in 69a88f8
code/src/allocation/adapters/repository.py
Line 28 in 69a88f8
code/src/allocation/adapters/repository.py
Line 32 in 69a88f8
code/src/allocation/adapters/repository.py
Line 36 in 69a88f8