Page MenuHomePhabricator

[services-lib] Add integer and timestamp parsing helpers
ClosedPublic

Authored by bartek on Jul 7 2023, 5:44 AM.
Tags
None
Referenced Files
Unknown Object (File)
Fri, Nov 1, 6:08 PM
Unknown Object (File)
Fri, Nov 1, 6:08 PM
Unknown Object (File)
Fri, Nov 1, 6:08 PM
Unknown Object (File)
Fri, Nov 1, 6:08 PM
Unknown Object (File)
Fri, Nov 1, 5:45 PM
Unknown Object (File)
Sun, Oct 27, 4:35 PM
Unknown Object (File)
Sep 28 2024, 8:39 PM
Unknown Object (File)
Sep 28 2024, 8:36 PM
Subscribers

Details

Summary

Adds a helper function to parse UTC timestamp DynamoDB attribute values.
Also improved the existing number parsing function to be more flexible
and renamed it to parse_integer because it was created specifically for integers

Test Plan

Unit tests

Diff Detail

Repository
rCOMM Comm
Lint
No Lint Coverage
Unit
No Test Coverage