On Fri, 8 Apr 2022 at 09:29, Malthe <mbo...@gmail.com> wrote:

> A workflow definition which could be a 5-liner quickly
> becomes a 20-liner – consider for example:
>
>     default_args = {
>         "start_date": @datetime.datetime(...)
>     }

Are you exaggerating for effect here or would this *actually* just expand to

from datetime import datetime
default_args = {
    "start_date": datetime(...)
}

I'm not suggesting that there isn't a genuine benefit here, but your
example doesn't demonstrate what it is.

Paul
_______________________________________________
Python-Dev mailing list -- python-dev@python.org
To unsubscribe send an email to python-dev-le...@python.org
https://mail.python.org/mailman3/lists/python-dev.python.org/
Message archived at 
https://mail.python.org/archives/list/python-dev@python.org/message/RRLFDL2BDF3UV646GVZVRXUSGM7X5FRQ/
Code of Conduct: http://python.org/psf/codeofconduct/

Reply via email to