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
BaseModelManager filter operation inadvertently manipulates the AST of any model file in place but then also returns a new filtered model manager. It should do one of them, not both.
This causes a problem, if the model ASTs are kept in memory and reused. Because the operation manipulates those objects in memory without advertising it.
Expected Behavior
Current Behavior
Possible Solution
Steps to Reproduce
Create several models that depend on each other in memory
Apply a filter operation that would result in removal of imports
Inspect the models in memory
Context (Environment)
Desktop
OS: [e.g. macOS]
Browser: [e.g. Chrome, Safari]
Version: [e.g. 0.22.15]
Detailed Description
Possible Implementation
The text was updated successfully, but these errors were encountered:
Bug Report 🐛
BaseModelManager
filter operation inadvertently manipulates the AST of any model file in place but then also returns a new filtered model manager. It should do one of them, not both.This causes a problem, if the model ASTs are kept in memory and reused. Because the operation manipulates those objects in memory without advertising it.
Expected Behavior
Current Behavior
Possible Solution
Steps to Reproduce
Context (Environment)
Desktop
Detailed Description
Possible Implementation
The text was updated successfully, but these errors were encountered: