Events have been removed. Raise an error if we see dashEvents or fireEvents. Parameters ---------- props: dict Dictionary with {propName: propMetadata} structure Raises ------- ?
(props)
| 409 | |
| 410 | |
| 411 | def prohibit_events(props): |
| 412 | """Events have been removed. Raise an error if we see dashEvents or |
| 413 | fireEvents. |
| 414 | Parameters |
| 415 | ---------- |
| 416 | props: dict |
| 417 | Dictionary with {propName: propMetadata} structure |
| 418 | Raises |
| 419 | ------- |
| 420 | ? |
| 421 | """ |
| 422 | if "dashEvents" in props or "fireEvents" in props: |
| 423 | raise NonExistentEventException( |
| 424 | "Events are no longer supported by dash. Use properties instead, " |
| 425 | "eg `n_clicks` instead of a `click` event." |
| 426 | ) |
| 427 | |
| 428 | |
| 429 | def parse_wildcards(props): |
searching dependent graphs…