Skip to content
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

fix(python): load_as_version with datetime object with no timezone specified #2429

Merged
merged 1 commit into from
Apr 21, 2024

Conversation

t1g0rz
Copy link
Contributor

@t1g0rz t1g0rz commented Apr 21, 2024

Description

Upon attempting to retrieve the version with a datetime object, the load_as_version method throws a ValueError: Failed to parse datetime string: premature end of input.

Datetime objects without a specified timezone will be treated as UTC datetimes.

@github-actions github-actions bot added the binding/python Issues for the Python package label Apr 21, 2024
Copy link

ACTION NEEDED

delta-rs follows the Conventional Commits specification for release automation.

The PR title and description are used as the merge commit message. Please update your PR title and description to match the specification.

@t1g0rz t1g0rz changed the title Fix load_as_version with datetime object with no timezone specified fix(python): load_as_version with datetime object with no timezone specified Apr 21, 2024
@ion-elgreco ion-elgreco enabled auto-merge (squash) April 21, 2024 21:24
@ion-elgreco
Copy link
Collaborator

Thanks :) @t1g0rz

@ion-elgreco ion-elgreco merged commit 5f137ca into delta-io:main Apr 21, 2024
24 of 25 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
binding/python Issues for the Python package
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants