(val)
| 111 | |
| 112 | |
| 113 | def _val_to_string(val) -> str: |
| 114 | if isinstance(val, bool): |
| 115 | return str(val).lower() |
| 116 | if isinstance(val, datetime): |
| 117 | return str(val.isoformat().replace("+00:00", "Z")) |
| 118 | if isinstance(val, Enum): |
| 119 | return str(val.value) |
| 120 | |
| 121 | return str(val) |
| 122 | |
| 123 | |
| 124 | def _get_serialized_params( |
no outgoing calls
no test coverage detected