(fs, x)
| 33 | return x |
| 34 | |
| 35 | def from_union(fs, x): |
| 36 | for f in fs: |
| 37 | try: |
| 38 | return f(x) |
| 39 | except Exception: |
| 40 | pass |
| 41 | assert False |
| 42 | |
| 43 | def to_class(c: type[T], x: Any) -> dict: |
| 44 | assert isinstance(x, c) |
no outgoing calls
no test coverage detected
searching dependent graphs…