bundles / IPython 9.17.0 / IPython / core / magic / validate_type
function
IPython.core.magic:validate_type
Signature
def validate_type(magic_kind: str) → NoneSummary
Ensure that the given magic_kind is valid.
Extended Summary
Check that the given magic_kind is one of the accepted spec types (stored in the global magic_spec), raise ValueError otherwise.
Aliases
IPython.core.magic.validate_type