[dynamo] Add asserts to prevent user defined objects/classes from going into ConstantVariable #110871
Labels
dynamo-triage-june2024
dynamo-variable-tracker
module: dynamo
triaged
This issue has been looked at a team member, and triaged and prioritized into an appropriate module
馃悰 Describe the bug
This is the root cause of #110794 but it's a bit hard to educate everyone not to put random crap in ConstantVariable, so it would be good if we have more asserts that help people figure out.
Primary barrier to adding the assert is we'll probably have to fix a pile of latent bugs while we're at it.
cc @voznesenskym @penguinwu @EikanWang @jgong5 @Guobing-Chen @XiaobingSuper @zhuhaozhe @blzheng @wenzhe-nrv @jiayisunx @chenyang78 @kadeng @chauhang @Xia-Weiwen @aakhundov @Fidget-Spinner
Versions
main
The text was updated successfully, but these errors were encountered: