bundles / nbformat latest / nbformat / _struct / Struct / allow_new_attr
function
nbformat._struct:Struct.allow_new_attr
source: /nbformat/_struct.py:240
Signature
def allow_new_attr(self, allow = True)Summary
Set whether new attributes can be created in this Struct.
Extended Summary
This can be used to catch typos by verifying that the attribute user tries to change already exists in this Struct.
Aliases
nbformat._struct.Struct.allow_new_attr