I am just getting into app-model and its features. I noticed that context is typed as MutableMapping which makes sense. In my case, I want to use typing. I ended up using TypedDict as it is typed. It seems to work (if you ignore the warning).
- Is there a side effect issue of using TypedDict? If not, i suggest the inclusion of
TypedDict as a possible type for the context variable.
- Is there anythong way to use a class? some of the AIs are suggesting to use ContextNamespace but i am not sure how to use and couldn't get it to work.
I am just getting into app-model and its features. I noticed that context is typed as
MutableMappingwhich makes sense. In my case, I want to use typing. I ended up usingTypedDictas it is typed. It seems to work (if you ignore the warning).TypedDictas a possible type for the context variable.