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)
Sat, Dec 14, 7:07 PM
Unknown Object (File)
Sat, Dec 14, 7:07 PM
Unknown Object (File)
Sat, Dec 14, 7:07 PM
Unknown Object (File)
Sat, Dec 14, 7:06 PM
Unknown Object (File)
Sat, Dec 14, 6:59 PM
Unknown Object (File)
Sat, Nov 23, 8:05 AM
Unknown Object (File)
Nov 16 2024, 4:45 PM
Unknown Object (File)
Nov 1 2024, 6:08 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