| 135 | |
| 136 | |
| 137 | class Options: |
| 138 | array_format: ArrayFormat |
| 139 | nested_format: NestedFormat |
| 140 | |
| 141 | def __init__( |
| 142 | self, |
| 143 | qs: Querystring = _qs, |
| 144 | *, |
| 145 | array_format: ArrayFormat | NotGiven = not_given, |
| 146 | nested_format: NestedFormat | NotGiven = not_given, |
| 147 | ) -> None: |
| 148 | self.array_format = qs.array_format if isinstance(array_format, NotGiven) else array_format |
| 149 | self.nested_format = qs.nested_format if isinstance(nested_format, NotGiven) else nested_format |