You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I updated the context field of the concepts from model.get_concepts_name_map(). However, those changes do not propagate to the concepts from model.initials. I expected that there is a common 'pool' of concepts used by the model.templates and the model.initials since they both refer to the same state variables and I'd only need to update their context once.
The text was updated successfully, but these errors were encountered:
No, each Concept instance you see in the TemplateModel is a different object instance. This is by design, and on purpose, so one cannot change a single Concept by reference and expect other Concept instances that happen to match.
I updated the
context
field of the concepts frommodel.get_concepts_name_map()
. However, those changes do not propagate to the concepts frommodel.initials
. I expected that there is a common 'pool' of concepts used by themodel.templates
and themodel.initials
since they both refer to the same state variables and I'd only need to update their context once.The text was updated successfully, but these errors were encountered: