3 ms·
You mean DataClasses?
by crorella 7y ago
You mean DataClasses?
- roberto 7y agoNo, I mean type annotations in the functions defining the tasks. If you look at their first example, they define a function called `get_traintest_splitdatabase`, and the input and outputs are annotated using two decorators.
- kumare3 7y agoRoberto, this is absolutely one of our goals. When we started, it was with python2.7 still around. We would love contributions, ofcourse we will work with you and adapt it
- tedmiston 7y agotyping — Support for type hints [1]. They are used by tools like mypy, not at runtime (by CPython at least), but still very useful. [1]: https://docs.python.org/3/library/typing.html https://docs.python.org/3/library/typing.html