 Flask-RESTful Documentation Release 0.3.10(inclusive) inputs.iso8601interval(value, argument='argument') Parses ISO 8601-formatted datetime intervals into tuples of datetimes. Accepts both a single date(time) or a full interval using either start/end Intervals are defined as inclusive start, exclusive end Single datetimes are translated into the interval spanning the largest resolution not specified in the input value, up to the day. The smallest accepted a string Two UTC datetimes, the start and the end of the specified interval A tuple (datetime, datetime) ValueError, if the interval is invalid. inputs.natural(value, argument='argument') Restrict input0 码力 | 42 页 | 84.60 KB | 1 年前3 Flask-RESTful Documentation Release 0.3.10(inclusive) inputs.iso8601interval(value, argument='argument') Parses ISO 8601-formatted datetime intervals into tuples of datetimes. Accepts both a single date(time) or a full interval using either start/end Intervals are defined as inclusive start, exclusive end Single datetimes are translated into the interval spanning the largest resolution not specified in the input value, up to the day. The smallest accepted a string Two UTC datetimes, the start and the end of the specified interval A tuple (datetime, datetime) ValueError, if the interval is invalid. inputs.natural(value, argument='argument') Restrict input0 码力 | 42 页 | 84.60 KB | 1 年前3
共 1 条
- 1














