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, Apr 4, 12:52 AM
Unknown Object (File)
Sun, Mar 30, 11:47 PM
Unknown Object (File)
Mon, Mar 17, 12:27 AM
Unknown Object (File)
Fri, Mar 7, 6:07 PM
Unknown Object (File)
Fri, Mar 7, 6:06 PM
Unknown Object (File)
Fri, Mar 7, 6:06 PM
Unknown Object (File)
Fri, Mar 7, 6:06 PM
Unknown Object (File)
Fri, Mar 7, 6:01 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
Lint Not Applicable
Unit
Tests Not Applicable