(
self,
params: Params,
*,
array_format: NotGivenOr[ArrayFormat] = NOT_GIVEN,
nested_format: NotGivenOr[NestedFormat] = NOT_GIVEN,
)
| 53 | ) |
| 54 | |
| 55 | def stringify_items( |
| 56 | self, |
| 57 | params: Params, |
| 58 | *, |
| 59 | array_format: NotGivenOr[ArrayFormat] = NOT_GIVEN, |
| 60 | nested_format: NotGivenOr[NestedFormat] = NOT_GIVEN, |
| 61 | ) -> list[tuple[str, str]]: |
| 62 | opts = Options( |
| 63 | qs=self, |
| 64 | array_format=array_format, |
| 65 | nested_format=nested_format, |
| 66 | ) |
| 67 | return flatten([self._stringify_item(key, value, opts) for key, value in params.items()]) |
| 68 | |
| 69 | def _stringify_item( |
| 70 | self, |
no test coverage detected