mirror of
https://github.com/davidhalter/typeshed.git
synced 2026-01-09 04:52:23 +08:00
Previously we specified this as a Union type, which caused more problems than it helped with, namely when reading data off a Pynamo property We still had to cast to the appropriate type. Pynamo simply reads the type out of Dynamo, which more closely models a float as it can be an int or a float - https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/HowItWorks.NamingRulesDataTypes.html