web3py will handle this with imports and it is 10x faster. Will have a prototype out soon.
On Tuesday, 25 April 2017 10:47:10 UTC-5, JorgeH wrote: > > > Hello > > I've just had an idea that came to mind. But I'm unsure of its feasability. > > > Can a script be made with pytest ( or something similar ) , and with the > 'code coverage ' feature, get automatically only the functions that are > being imported and used in models and controllers, > > So in production, you copy -paste that lines and prepend the imports ? > > I am not as profitable in python as I'd like to test it > > Is it possible? > > > -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/web2py/web2py (Source code) - https://code.google.com/p/web2py/issues/list (Report Issues) --- You received this message because you are subscribed to the Google Groups "web2py-users" group. To unsubscribe from this group and stop receiving emails from it, send an email to web2py+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.