romaklimenko / cluedin

CluedIn Python SDK
MIT License
3 stars 0 forks source link

Context must be a class #13

Closed romaklimenko closed 1 year ago

romaklimenko commented 1 year ago

It's better late than never: the context passed to each method is a dict now, but it would be better if it were an object of a class.

It may be considered as a breaking change, but actually, we just need to change the logic of load_token_into_context to return a Context instead of a dict, and deprecate it.