-
Notifications
You must be signed in to change notification settings - Fork 47
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Updated Docstring engine #1229
Updated Docstring engine #1229
Conversation
Codecov ReportAttention:
❗ Your organization needs to install the Codecov GitHub app to enable full functionality. Additional details and impacted files@@ Coverage Diff @@
## develop #1229 +/- ##
===========================================
- Coverage 88.16% 84.11% -4.06%
===========================================
Files 79 148 +69
Lines 5257 11863 +6606
===========================================
+ Hits 4635 9978 +5343
- Misses 622 1885 +1263 ☔ View full report in Codecov by Sentry. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👍
@@ -8,7 +8,7 @@ class Task(abc.ABC): | |||
Abstract Task class. | |||
|
|||
A task is one of a list of independent execution tasks that are | |||
submitted to the execution engine to be executed using the execute() | |||
submitted to the execution engine to be executed using the :func:`execute` |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
submitted to the execution engine to be executed using the :func:`execute` | |
submitted to the execution engine to be executed using the :meth:`execute` |
Maybe func
works as well.
Co-authored-by: Daniel Weindl <dweindl@users.noreply.github.com>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for the changes! The comment I left was just for my info and learning, never knew the difference :D
self, tasks: List[Task], progress_bar: bool = True | ||
) -> List[Any]: | ||
self, tasks: list[Task], progress_bar: bool = True | ||
) -> list[Any]: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is there any difference in using list
or List
?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Same effect, but List
and the like are deprecated as of python3.9 (https://docs.python.org/3/library/typing.html#deprecated-aliases)
Updated the doctoring of the engine module.