HomePhabricator
Diffusion Comm 4933f329fa0d

[services-lib] Add integer and timestamp parsing helpers

Description

[services-lib] Add integer and timestamp parsing helpers

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

Reviewers: michal, patryk, jon, varun

Reviewed By: michal, varun

Subscribers: ashoat, tomek

Differential Revision: https://phab.comm.dev/D8438

Details

Provenance
bartekAuthored on Jul 5 2023, 7:03 AM
Reviewer
michal
Differential Revision
D8438: [services-lib] Add integer and timestamp parsing helpers
Parents
rCOMM62a3e67e2ddf: [services][terraform] Move current config to dev/
Branches
Unknown
Tags
Unknown