Skip to content

SG-37924 Replace utcfromtimestamp for Python 3.12 #390

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

Merged
merged 2 commits into from
Jun 10, 2025

Conversation

carlos-villavicencio-adsk
Copy link
Contributor

This pull request includes a small improvement to the test_transform_data method in tests/test_client.py. The change updates the way UTC timestamps are created to use datetime.fromtimestamp with the tz=datetime.timezone.utc parameter, replacing the deprecated use of datetime.utcfromtimestamp.

@carlos-villavicencio-adsk carlos-villavicencio-adsk requested a review from a team June 5, 2025 14:45
julien-lang
julien-lang previously approved these changes Jun 5, 2025
@carlos-villavicencio-adsk carlos-villavicencio-adsk merged commit 2099494 into master Jun 10, 2025
22 checks passed
@carlos-villavicencio-adsk carlos-villavicencio-adsk deleted the ticket/SG-37924_replace_utcnow branch June 10, 2025 20:25
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.

2 participants