chore: Construct FeatureView with timedelta instead of Duration object#2445
Conversation
Signed-off-by: Felix Wang <[email protected]>
Codecov Report
@@ Coverage Diff @@
## master #2445 +/- ##
===========================================
- Coverage 83.66% 72.99% -10.68%
===========================================
Files 125 120 -5
Lines 10838 10408 -430
===========================================
- Hits 9068 7597 -1471
- Misses 1770 2811 +1041
Flags with carried forward coverage won't be shown. Click here to find out more.
Continue to review full report at Codecov.
|
|
/lgtm |
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: achals, felixwang9817 The full list of commands accepted by this bot can be found here. The pull request process is described here DetailsNeeds approval from an approver in each of these files:
Approvers can indicate their approval by writing |
Signed-off-by: Felix Wang [email protected]
What this PR does / why we need it: #2427 deprecated the option to pass in a
Durationobject for thettlparameter duringFeatureViewinitialization. This PR ensures thatFeatureView.from_protoconstructs aFeatureViewusing atimedeltaobject instead of aDurationobject.Which issue(s) this PR fixes:
Fixes #