ConfigList of Path vs PathList

30 views
Skip to first unread message

Melander, Darryl

unread,
Jul 22, 2021, 8:34:58 PM7/22/21
to pyomo-de...@googlegroups.com

I’m writing a custom domain for pyomo.common.config, one that stores references to python modules.  I plan to use these as lists (config.my_modules = [os, os.path]).  I can either do this as a ConfigList(domain=Module()), or I can create a ModuleList class that is analogous to the PathList class.  What are the reasons for the PathList class instead of using ConfigList of Path?

 

Thanks,

 

Darryl

Reply all
Reply to author
Forward
0 new messages