Dan Albert 2e901f3586 Replace some isinstance calls with TypeGuard.
These aren't as ergonomic as I'd hoped because of
https://www.python.org/dev/peps/pep-0647/#narrowing-of-implicit-self-and-cls-parameters.

I added a decorator `@self_type_guard` so we can avoid needing to import
the descendent types in the typeguard implementation (which wouldn't fix
any circular imports, just move them).
2022-02-12 14:59:44 -08:00
..
2021-11-20 18:49:14 -08:00
2021-12-22 13:01:51 -08:00
2022-01-24 18:20:34 -08:00
2022-01-16 13:53:05 -08:00
2021-11-20 18:49:14 -08:00
2021-11-20 18:49:14 -08:00
2021-12-21 14:52:28 -08:00
2021-11-21 11:30:39 -08:00
2021-10-22 11:42:13 -07:00