MOE icon indicating copy to clipboard operation
MOE copied to clipboard

[Python] stop instantiating colander schemas at every use site

Open suntzu86 opened this issue 10 years ago • 0 comments

From my comment on #291

lots of colander examples appear to instantiate schemas immediately after definition so that they're only instantiated once. We do a mix of A) instantiate as class variable or B) instantiate at use site. It'd be good to establish what standard colander style is and follow that. The choice here could be relevant to issue #336 b/c it may expose more instances of that problem.

suntzu86 avatar Jul 29 '14 19:07 suntzu86