def write_v2(nb: NotebookNode, fp: typing.io.TextIO, **kwargs: typing.Any) -> None: MetadataValidatorV2().validate_nb(nb) _write(nb, fp, **kwargs)
def write_v1(nb, fp, **kwargs): ValidatorV1().validate_nb(nb) return _write(nb, fp, **kwargs)
def write_v2(nb, fp, **kwargs): MetadataValidatorV2().validate_nb(nb) return _write(nb, fp, **kwargs)
def write_v1(nb, fp, **kwargs): MetadataValidatorV1().validate_nb(nb) return _write(nb, fp, **kwargs)