nodes: 0, module; 1, function_definition; 2, function_name:list_feedback; 3, parameters; 4, block; 5, identifier:self; 6, default_parameter; 7, default_parameter; 8, default_parameter; 9, default_parameter; 10, default_parameter; 11, default_parameter; 12, default_parameter; 13, default_parameter; 14, default_parameter; 15, default_parameter; 16, default_parameter; 17, default_parameter; 18, default_parameter; 19, default_parameter; 20, default_parameter; 21, default_parameter; 22, dictionary_splat_pattern; 23, expression_statement; 24, expression_statement; 25, if_statement; 26, expression_statement; 27, expression_statement; 28, expression_statement; 29, expression_statement; 30, expression_statement; 31, return_statement; 32, identifier:feedback_type; 33, None; 34, identifier:before; 35, None; 36, identifier:after; 37, None; 38, identifier:document_title; 39, None; 40, identifier:model_id; 41, None; 42, identifier:model_version; 43, None; 44, identifier:category_removed; 45, None; 46, identifier:category_added; 47, None; 48, identifier:category_not_changed; 49, None; 50, identifier:type_removed; 51, None; 52, identifier:type_added; 53, None; 54, identifier:type_not_changed; 55, None; 56, identifier:page_limit; 57, None; 58, identifier:cursor; 59, None; 60, identifier:sort; 61, None; 62, identifier:include_total; 63, None; 64, identifier:kwargs; 65, comment:"""
          List the feedback in a document.
  
          Lists the feedback in a document.
  
          :param str feedback_type: An optional string that filters the output to include
          only feedback with the specified feedback type. The only permitted value is
          `element_classification`.
          :param date before: An optional string in the format `YYYY-MM-DD` that filters the
          output to include only feedback that was added before the specified date.
          :param date after: An optional string in the format `YYYY-MM-DD` that filters the
          output to include only feedback that was added after the specified date.
          :param str document_title: An optional string that filters the output to include
          only feedback from the document with the specified `document_title`.
          :param str model_id: An optional string that filters the output to include only
          feedback with the specified `model_id`. The only permitted value is `contracts`.
          :param str model_version: An optional string that filters the output to include
          only feedback with the specified `model_version`.
          :param str category_removed: An optional string in the form of a comma-separated
          list of categories. If this is specified, the service filters the output to
          include only feedback that has at least one category from the list removed.
          :param str category_added: An optional string in the form of a comma-separated
          list of categories. If this is specified, the service filters the output to
          include only feedback that has at least one category from the list added.
          :param str category_not_changed: An optional string in the form of a
          comma-separated list of categories. If this is specified, the service filters the
          output to include only feedback that has at least one category from the list
          unchanged.
          :param str type_removed: An optional string of comma-separated `nature`:`party`
          pairs. If this is specified, the service filters the output to include only
          feedback that has at least one `nature`:`party` pair from the list removed.
          :param str type_added: An optional string of comma-separated `nature`:`party`
          pairs. If this is specified, the service filters the output to include only
          feedback that has at least one `nature`:`party` pair from the list removed.
          :param str type_not_changed: An optional string of comma-separated
          `nature`:`party` pairs. If this is specified, the service filters the output to
          include only feedback that has at least one `nature`:`party` pair from the list
          unchanged.
          :param int page_limit: An optional integer specifying the number of documents that
          you want the service to return.
          :param str cursor: An optional string that returns the set of documents after the
          previous set. Use this parameter with the `page_limit` parameter.
          :param str sort: An optional comma-separated list of fields in the document to
          sort on. You can optionally specify the sort direction by prefixing the value of
          the field with `-` for descending order or `+` for ascending order (the default).
          Currently permitted sorting fields are `created`, `user_id`, and `document_title`.
          :param bool include_total: An optional boolean value. If specified as `true`, the
          `pagination` object in the output includes a value called `total` that gives the
          total count of feedback created.
          :param dict headers: A `dict` containing the request headers
          :return: A `DetailedResponse` containing the result, headers and HTTP status code.
          :rtype: DetailedResponse
          """; 66, assignment; 67, comparison_operator:'headers' in kwargs; 68, block; 69, assignment; 70, call; 71, assignment; 72, assignment; 73, assignment; 74, identifier:response; 75, identifier:headers; 76, dictionary; 77, string; 78, identifier:kwargs; 79, expression_statement; 80, identifier:sdk_headers; 81, call; 82, attribute; 83, argument_list; 84, identifier:params; 85, dictionary; 86, identifier:url; 87, string; 88, identifier:response; 89, call; 90, string_content:headers; 91, call; 92, identifier:get_sdk_headers; 93, argument_list; 94, identifier:headers; 95, identifier:update; 96, identifier:sdk_headers; 97, pair; 98, pair; 99, pair; 100, pair; 101, pair; 102, pair; 103, pair; 104, pair; 105, pair; 106, pair; 107, pair; 108, pair; 109, pair; 110, pair; 111, pair; 112, pair; 113, pair; 114, string_content:/v1/feedback; 115, attribute; 116, argument_list; 117, attribute; 118, argument_list; 119, string; 120, string; 121, string; 122, string; 123, attribute; 124, string; 125, identifier:feedback_type; 126, string; 127, identifier:before; 128, string; 129, identifier:after; 130, string; 131, identifier:document_title; 132, string; 133, identifier:model_id; 134, string; 135, identifier:model_version; 136, string; 137, identifier:category_removed; 138, string; 139, identifier:category_added; 140, string; 141, identifier:category_not_changed; 142, string; 143, identifier:type_removed; 144, string; 145, identifier:type_added; 146, string; 147, identifier:type_not_changed; 148, string; 149, identifier:page_limit; 150, string; 151, identifier:cursor; 152, string; 153, identifier:sort; 154, string; 155, identifier:include_total; 156, identifier:self; 157, identifier:request; 158, keyword_argument; 159, keyword_argument; 160, keyword_argument; 161, keyword_argument; 162, keyword_argument; 163, identifier:headers; 164, identifier:update; 165, call; 166, string_content:compare-comply; 167, string_content:V1; 168, string_content:list_feedback; 169, string_content:version; 170, identifier:self; 171, identifier:version; 172, string_content:feedback_type; 173, string_content:before; 174, string_content:after; 175, string_content:document_title; 176, string_content:model_id; 177, string_content:model_version; 178, string_content:category_removed; 179, string_content:category_added; 180, string_content:category_not_changed; 181, string_content:type_removed; 182, string_content:type_added; 183, string_content:type_not_changed; 184, string_content:page_limit; 185, string_content:cursor; 186, string_content:sort; 187, string_content:include_total; 188, identifier:method; 189, string; 190, identifier:url; 191, identifier:url; 192, identifier:headers; 193, identifier:headers; 194, identifier:params; 195, identifier:params; 196, identifier:accept_json; 197, True; 198, attribute; 199, argument_list; 200, string_content:GET; 201, identifier:kwargs; 202, identifier:get; 203, string; 204, string_content:headers
code: def list_feedback(self,
                        feedback_type=None,
                        before=None,
                        after=None,
                        document_title=None,
                        model_id=None,
                        model_version=None,
                        category_removed=None,
                        category_added=None,
                        category_not_changed=None,
                        type_removed=None,
                        type_added=None,
                        type_not_changed=None,
                        page_limit=None,
                        cursor=None,
                        sort=None,
                        include_total=None,
                        **kwargs):
          """
          List the feedback in a document.
  
          Lists the feedback in a document.
  
          :param str feedback_type: An optional string that filters the output to include
          only feedback with the specified feedback type. The only permitted value is
          `element_classification`.
          :param date before: An optional string in the format `YYYY-MM-DD` that filters the
          output to include only feedback that was added before the specified date.
          :param date after: An optional string in the format `YYYY-MM-DD` that filters the
          output to include only feedback that was added after the specified date.
          :param str document_title: An optional string that filters the output to include
          only feedback from the document with the specified `document_title`.
          :param str model_id: An optional string that filters the output to include only
          feedback with the specified `model_id`. The only permitted value is `contracts`.
          :param str model_version: An optional string that filters the output to include
          only feedback with the specified `model_version`.
          :param str category_removed: An optional string in the form of a comma-separated
          list of categories. If this is specified, the service filters the output to
          include only feedback that has at least one category from the list removed.
          :param str category_added: An optional string in the form of a comma-separated
          list of categories. If this is specified, the service filters the output to
          include only feedback that has at least one category from the list added.
          :param str category_not_changed: An optional string in the form of a
          comma-separated list of categories. If this is specified, the service filters the
          output to include only feedback that has at least one category from the list
          unchanged.
          :param str type_removed: An optional string of comma-separated `nature`:`party`
          pairs. If this is specified, the service filters the output to include only
          feedback that has at least one `nature`:`party` pair from the list removed.
          :param str type_added: An optional string of comma-separated `nature`:`party`
          pairs. If this is specified, the service filters the output to include only
          feedback that has at least one `nature`:`party` pair from the list removed.
          :param str type_not_changed: An optional string of comma-separated
          `nature`:`party` pairs. If this is specified, the service filters the output to
          include only feedback that has at least one `nature`:`party` pair from the list
          unchanged.
          :param int page_limit: An optional integer specifying the number of documents that
          you want the service to return.
          :param str cursor: An optional string that returns the set of documents after the
          previous set. Use this parameter with the `page_limit` parameter.
          :param str sort: An optional comma-separated list of fields in the document to
          sort on. You can optionally specify the sort direction by prefixing the value of
          the field with `-` for descending order or `+` for ascending order (the default).
          Currently permitted sorting fields are `created`, `user_id`, and `document_title`.
          :param bool include_total: An optional boolean value. If specified as `true`, the
          `pagination` object in the output includes a value called `total` that gives the
          total count of feedback created.
          :param dict headers: A `dict` containing the request headers
          :return: A `DetailedResponse` containing the result, headers and HTTP status code.
          :rtype: DetailedResponse
          """
  
          headers = {}
          if 'headers' in kwargs:
              headers.update(kwargs.get('headers'))
          sdk_headers = get_sdk_headers('compare-comply', 'V1', 'list_feedback')
          headers.update(sdk_headers)
  
          params = {
              'version': self.version,
              'feedback_type': feedback_type,
              'before': before,
              'after': after,
              'document_title': document_title,
              'model_id': model_id,
              'model_version': model_version,
              'category_removed': category_removed,
              'category_added': category_added,
              'category_not_changed': category_not_changed,
              'type_removed': type_removed,
              'type_added': type_added,
              'type_not_changed': type_not_changed,
              'page_limit': page_limit,
              'cursor': cursor,
              'sort': sort,
              'include_total': include_total
          }
  
          url = '/v1/feedback'
          response = self.request(
              method='GET',
              url=url,
              headers=headers,
              params=params,
              accept_json=True)
          return response