Remove extra metadata from the dictionary. Operates in-place so nothing is returned. Args: meta: dictionary containing metadata to be modified. Returns: `None`
(meta: dict)
| 1514 | |
| 1515 | |
| 1516 | def remove_extra_metadata(meta: dict) -> None: |
| 1517 | """ |
| 1518 | Remove extra metadata from the dictionary. Operates in-place so nothing is returned. |
| 1519 | |
| 1520 | Args: |
| 1521 | meta: dictionary containing metadata to be modified. |
| 1522 | |
| 1523 | Returns: |
| 1524 | `None` |
| 1525 | """ |
| 1526 | keys = get_extra_metadata_keys() |
| 1527 | remove_keys(data=meta, keys=keys) |
| 1528 | |
| 1529 | |
| 1530 | def get_extra_metadata_keys() -> list[str]: |
no test coverage detected
searching dependent graphs…