Skip to content

Add timedelta fix#327

Merged
wcs1only merged 8 commits intodapr:masterfrom
chinzhiweiblank:fix/timedelta-precision
Jan 13, 2022
Merged

Add timedelta fix#327
wcs1only merged 8 commits intodapr:masterfrom
chinzhiweiblank:fix/timedelta-precision

Conversation

@chinzhiweiblank
Copy link
Copy Markdown
Contributor

@chinzhiweiblank chinzhiweiblank commented Jan 8, 2022

Description

Please explain the changes you've made
Added microseconds and milliseconds to timedelta conversion.

Issue reference

We strive to have all PR being opened based on an issue, where the problem or feature have been discussed prior to implementation.

Please reference the issue this PR will close: #320

Checklist

Please make sure you've completed the relevant tasks for this PR, out of the following list:

  • Code compiles correctly
  • Created/updated tests
  • Extended the documentation

@chinzhiweiblank chinzhiweiblank requested review from a team as code owners January 8, 2022 10:41
Signed-off-by: chinzhiweiblank <chinzhiweiblank@gmail.com>
Signed-off-by: chinzhiweiblank <chinzhiweiblank@gmail.com>
@chinzhiweiblank chinzhiweiblank force-pushed the fix/timedelta-precision branch from 8d2173f to 614585d Compare January 8, 2022 10:43
@codecov
Copy link
Copy Markdown

codecov Bot commented Jan 8, 2022

Codecov Report

Merging #327 (71d9a64) into master (65630ed) will increase coverage by 0.01%.
The diff coverage is 100.00%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #327      +/-   ##
==========================================
+ Coverage   89.58%   89.60%   +0.01%     
==========================================
  Files          52       52              
  Lines        2219     2222       +3     
==========================================
+ Hits         1988     1991       +3     
  Misses        231      231              
Impacted Files Coverage Δ
dapr/serializers/util.py 100.00% <100.00%> (ø)

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 65630ed...71d9a64. Read the comment docs.

Copy link
Copy Markdown
Contributor

@wcs1only wcs1only left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks so much for your contribution! One minor comment, and we'll get this merged for the next release.

Comment thread dapr/serializers/util.py Outdated
Signed-off-by: chinzhiweiblank <chinzhiweiblank@gmail.com>
@chinzhiweiblank chinzhiweiblank force-pushed the fix/timedelta-precision branch from 093f16c to c4b9884 Compare January 13, 2022 14:47
Signed-off-by: chinzhiweiblank <chinzhiweiblank@gmail.com>
@chinzhiweiblank chinzhiweiblank force-pushed the fix/timedelta-precision branch from 40b3fde to 4dbd1c3 Compare January 13, 2022 15:09
Copy link
Copy Markdown
Contributor

@wcs1only wcs1only left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM. Thanks for your contribution!

@wcs1only wcs1only added this to the v1.5 milestone Jan 13, 2022
@wcs1only wcs1only merged commit 431724b into dapr:master Jan 13, 2022
berndverst pushed a commit to berndverst/python-sdk that referenced this pull request Jan 13, 2022
* Add timedelta fix

Signed-off-by: chinzhiweiblank <chinzhiweiblank@gmail.com>
Signed-off-by: Bernd Verst <4535280+berndverst@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

dapr timer do not support ms as timedelta

2 participants