(value: Any)
| 97 | return max(1, min(14, (today - selected).days + 1)) |
| 98 | |
| 99 | |
| 100 | def _optional_positive_int(value: Any) -> Optional[int]: |
| 101 | if value in (None, ""): |
| 102 | return None |
| 103 | return max(1, int(value)) |
| 104 | |
| 105 |
no outgoing calls
no test coverage detected