thank u, I will try it .
On 8月12日, 下午4时43分, mdipierro <mdipie...@cs.depaul.edu> wrote: > I do not think you can. controllers are executed after models. > > You can have controllers "upon execution" store their docstrings in > one pickle, you can have your models (in a second iteration) load the > pickle. > > Massimo > > On Aug 12, 3:19 am, hywang <why00...@163.com> wrote: > > > there is a controller: > > def controller_1(): > > """ > > this is its __doc__ string > > """ > > return {} > > > # How can get ["controller_1", "this is its __doc__ string"] > > > def controller_2(): > > """ > > this is its __doc__ string > > """ > > return {} > > > # How can get ["controller_2", "this is its __doc__ string"] > > -------------------------------------- > > > how can I get this controller's functions and their doc strings from a > > model function ? > > thank you !