Closed indiVar0508 closed 8 months ago
We've detected an issue with your CI configuration that might affect the accuracy of this pull request's coverage report. To ensure accuracy in future PRs, please see these guidelines. A quick fix for this PR: rebase it; your next report should be accurate.
Totals | |
---|---|
Change from base Build 7207361402: | -0.05% |
Covered Lines: | 4888 |
Relevant Lines: | 5152 |
python 3.12 has deprecated the use of datetime.datetime.utcnow infavour of datetime.datetime.now(datetime.UTC). ref: https://docs.python.org/3/library/datetime.html#datetime.datetime.utcnow
so added a utility method that tries to address this for different python version and used it in Transaction class and tests where we were setting default datetime value for datetime column.