(self, params: _AnySingleExecuteParams)
| 803 | return text |
| 804 | |
| 805 | def _repr_param_list(self, params: _AnySingleExecuteParams) -> str: |
| 806 | trunc = self.trunc |
| 807 | ( |
| 808 | items_first_batch, |
| 809 | items_second_batch, |
| 810 | trunclen, |
| 811 | ) = self._get_batches(params) |
| 812 | |
| 813 | if items_second_batch: |
| 814 | text = "[%s" % ( |
| 815 | ", ".join(trunc(value) for value in items_first_batch) |
| 816 | ) |
| 817 | text += f" ... {trunclen} parameters truncated ... " |
| 818 | text += "%s]" % ( |
| 819 | ", ".join(trunc(value) for value in items_second_batch) |
| 820 | ) |
| 821 | else: |
| 822 | text = "[%s]" % ( |
| 823 | ", ".join(trunc(value) for value in items_first_batch) |
| 824 | ) |
| 825 | return text |
| 826 | |
| 827 | |
| 828 | def adapt_criterion_to_null(crit: _CE, nulls: Collection[Any]) -> _CE: |
no test coverage detected