"""This module contains the cache key constructors for the ``api`` app"""

from rest_framework_extensions.key_constructor.bits import QueryParamsKeyBit
from rest_framework_extensions.key_constructor.constructors import DefaultListKeyConstructor


class ListWithGetParamsConstructor(DefaultListKeyConstructor):
    """Add the ``QueryParamsKeyBit`` to the ``DefaultListKeyConstructor``"""

    query_params = QueryParamsKeyBit()
