from typing import Tuple, Type

from market.model.product.spec import Spec
from market.repository.base import CRUDRepository


class SpecRepository(CRUDRepository):
    @property
    def model(self) -> Type[Spec]:
        return Spec

    @property
    def query_params(self) -> Tuple:
        return ('cat_id',)

92dc6ca3e5c35d64f7bac23b5ca594d818ae5836
<mask token>


class SpecRepository(CRUDRepository):
    <mask token>
    <mask token>

<mask token>


class SpecRepository(CRUDRepository):
    <mask token>

    @property
    def query_params(self) ->Tuple:
        return 'cat_id',

<mask token>


class SpecRepository(CRUDRepository):

    @property
    def model(self) ->Type[Spec]:
        return Spec

    @property
    def query_params(self) ->Tuple:
        return 'cat_id',

from typing import Tuple, Type
from market.model.product.spec import Spec
from market.repository.base import CRUDRepository


class SpecRepository(CRUDRepository):

    @property
    def model(self) ->Type[Spec]:
        return Spec

    @property
    def query_params(self) ->Tuple:
        return 'cat_id',

from typing import Tuple, Type

from market.model.product.spec import Spec
from market.repository.base import CRUDRepository


class SpecRepository(CRUDRepository):
    @property
    def model(self) -> Type[Spec]:
        return Spec

    @property
    def query_params(self) -> Tuple:
        return ('cat_id',)
