def request_params(self, stream_state: Mapping[(str, Any)], **kwargs) -> MutableMapping[(str, Any)]:
    '\n        Generates a query for incremental logic\n\n        Docs: https://developers.cart.com/docs/rest-api/docs/query_syntax.md\n        '
    params = super().request_params(stream_state=stream_state, **kwargs)
    cursor_value = (stream_state.get(self.cursor_field) or self._start_date)
    params['sort'] = self.cursor_field
    start_date = max(cursor_value, self._start_date)
    query = f'gt:{start_date}'
    if (self._end_date and (self._end_date > start_date)):
        query += f' AND lt:{self._end_date}'
    params[self.cursor_field] = query
    return params
Generates a query for incremental logic

Docs: https://developers.cart.com/docs/rest-api/docs/query_syntax.md
def request_params(self, stream_state: Mapping[(str, Any)], **kwargs) -> MutableMapping[(str, Any)]:
    '\n        Generates a query for incremental logic\n\n        Docs: https://developers.cart.com/docs/rest-api/docs/query_syntax.md\n        '
    params = super().request_params(stream_state=stream_state, **kwargs)
    cursor_value = (stream_state.get(self.cursor_field) or self._start_date)
    params['sort'] = self.cursor_field
    start_date = max(cursor_value, self._start_date)
    query = f'gt:{start_date}'
    if (self._end_date and (self._end_date > start_date)):
        query += f' AND lt:{self._end_date}'
    params[self.cursor_field] = query
    return params