Repository navigation
Conversation
|
Due to me being somewhat busy and there being lot of changes, I don't have time to review this right now. I'll add the underlying issue to RF 3.2 scope so that I won't forget about it. That said, RF 3.2 is already overdue and I definitely want it out this year, so there's a change this won't make it into it anyway. I'll do my best. |
|
I went through the code quickly and realized this is even bigger change than I expected. RF 3.2 is already so much overdue that unfortunately this needs to be descoped. This is a great feature for RF 3.3, but I cannot promise when its active development starts, hopefully sometime 2020. I won't do a detailed review to this PR now, but I'll go through the code again and add comments to places that I think should be changed. Because this is such a huge feature, I would also recommend splitting it into several PRs implementing independent features separately. These independent features could be:
|
| else: | ||
| self._add_arg(spec, arg, kw_only_args) | ||
| if type_: | ||
| self._add_type_to_arg(spec, arg, type_) |
There was a problem hiding this comment.
Is it necessary to get the type information in the beginning? Wouldn't it be easier to just enhance _add_arg so that it can check does the name have embedded type information and then act accordingly?
There was a problem hiding this comment.
yes it is necessary because _split_args_and_types remove type in args. If we don't split in begin we have problem with kwargs and vargs when the argname will be 'arg:type'
|
@pekkaklarck I will split the merge request but what is a process? I will push my modification in this branch and i keep my merge request or I create a new branch and new merge request? |
0b77b92 to
f92d296
Compare
f92d296 to
092d568
Compare
Codecov Report
@@ Coverage Diff @@
## master #3385 +/- ##
==========================================
- Coverage 73.64% 72.96% -0.67%
==========================================
Files 198 198
Lines 16377 16073 -304
Branches 2633 2637 +4
==========================================
- Hits 12059 11726 -333
- Misses 3880 3903 +23
- Partials 438 444 +6
Continue to review full report at Codecov.
|
|
Sorry for us dropping the ball with this PR @LeConTesteur. I don't remember what happened to it, but it doesn't make sense to resurrect it anymore. Reasons are:
|
Hi,
This PR implements functionalities of issues #3278
The functionalities implemented are :
Moreover, the supported type are : int, float, string, boolean, date, datetime, timedelta, list and dict.
Don't hesitate to challenge the code, the development was difficult for me.
Best Regards,