Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Improve typing
BaseContext
and functions
In addition to just adding parameter typing and return typing to `BaseContext` functions. We also declared `_context_members_` and `_context_attrs_` as properites of `BaseContext` this was necessary because they're being accessed in the classes functions. However, because they were being indirectly instantiated by the metaclass `ContextMeta`, the properties weren't actually known to exist. By adding declaring the properties on the `BaseContext`, we let mypy know they exist.
- Loading branch information