-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Change: Message.time was float, becomes datetime (#40)
* Change: Message.time was float, becomes datetime Change the type if BaseMessage.time to a datetime. This allows easier manipulation of the field, and parsing from strings as well as floats. New APIs introduced in PyAleph 0.5.0 store the message time as timestampz and return it as ISO strings. This changes is compatible with both the old and new APIs. * Add time validator for auto-conversion from float to datetime * Fix missing parameter * Fix Dockerfile dependency installation * Fix typing issues with mypy by using a generic type for AlephMessage * Rename to convert_float_to_datetime Co-authored-by: Hugo Herter <[email protected]> --------- Co-authored-by: mhh <[email protected]> Co-authored-by: Mike Hukiewitz <[email protected]>
- Loading branch information
1 parent
dd8037c
commit d297d88
Showing
3 changed files
with
27 additions
and
36 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.