Parses a string with the given options. :param text: The string to parse.
(text: str, **options: Any)
| 67 | |
| 68 | |
| 69 | def parse(text: str, **options: Any) -> datetime | date | time | _Interval | Duration: |
| 70 | """ |
| 71 | Parses a string with the given options. |
| 72 | |
| 73 | :param text: The string to parse. |
| 74 | """ |
| 75 | _options: dict[str, Any] = copy.copy(DEFAULT_OPTIONS) |
| 76 | _options.update(options) |
| 77 | |
| 78 | return _normalize(_parse(text, **_options), **_options) |
| 79 | |
| 80 | |
| 81 | def _normalize( |
searching dependent graphs…