(raw: list[str])
| 51 | |
| 52 | |
| 53 | def _parse_options(raw: list[str]) -> dict[str, str]: |
| 54 | out: dict[str, str] = {} |
| 55 | for entry in raw: |
| 56 | if ":" not in entry: |
| 57 | continue |
| 58 | k, v = entry.split(":", 1) |
| 59 | out[k.strip()] = v.strip() |
| 60 | return out |
| 61 | |
| 62 | |
| 63 | class BackendServicer(backend_pb2_grpc.BackendServicer): |