(data: WriteBuffer, value: str | None)
| 419 | |
| 420 | |
| 421 | def write_str_opt(data: WriteBuffer, value: str | None) -> None: |
| 422 | if value is not None: |
| 423 | write_tag(data, LITERAL_STR) |
| 424 | write_str_bare(data, value) |
| 425 | else: |
| 426 | write_tag(data, LITERAL_NONE) |
| 427 | |
| 428 | |
| 429 | def read_int_list(data: ReadBuffer) -> list[int]: |
no outgoing calls
no test coverage detected
searching dependent graphs…