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