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

Python: Timestamps for AWS SDKs #508

Merged
merged 609 commits into from
Aug 9, 2024
Merged

Conversation

lucasmcdonald3
Copy link
Contributor

Issue #, if available:

Description of changes:

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

@lucasmcdonald3 lucasmcdonald3 changed the title Lucmcdon/python poc v2 Python: Timestamps for AWS SDKs Aug 9, 2024
@lucasmcdonald3 lucasmcdonald3 marked this pull request as ready for review August 9, 2024 17:48
@lucasmcdonald3 lucasmcdonald3 requested a review from a team as a code owner August 9, 2024 17:48
@@ -19,7 +19,7 @@ module SimpleTimestampImplTest {
modifies client.Modifies
ensures client.ValidState()
{
var dafnyTimestamp := "2024-06-11T12:34:56";
var dafnyTimestamp := "2024-06-11T12:34:56Z";

Choose a reason for hiding this comment

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

Just wondering, what version of python does the customer have to be in because until python 3.10, it does not support military time stamp (timestamp with Z on the end)

Copy link
Contributor Author

Choose a reason for hiding this comment

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

3.11. This constraint comes from Smithy-Python

Copy link
Contributor Author

@lucasmcdonald3 lucasmcdonald3 Aug 9, 2024

Choose a reason for hiding this comment

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

I'll also note that I'm not even running SimpleTimestamp in Python, since I'm claiming that timestamps aren't supported for local services.

But the timestamp as-is is not ISO 8601 / RFC 3339 compatible, and there is complete consensus that any Dafny timestamps should be compatible with these specs.

@lucasmcdonald3 lucasmcdonald3 merged commit 69a761e into python-reviewed Aug 9, 2024
50 of 92 checks passed
@lucasmcdonald3 lucasmcdonald3 deleted the lucmcdon/python-poc-v2 branch August 9, 2024 21:24
@lucasmcdonald3 lucasmcdonald3 restored the lucmcdon/python-poc-v2 branch August 9, 2024 21:26
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.

3 participants