{ } Raw JSON

bundles / nbformat 5.11.1 / nbformat / _struct / Struct

class

nbformat._struct:Struct

source: /nbformat/_struct.py:13

Signature

class Struct(*args, **kw)

Members

Summary

A dict subclass with attribute style access.

Extended Summary

This dict subclass has a a few extra features:

  • Attribute style access.

  • Protection of class members (like keys, items) when using attribute style access.

  • The ability to restrict assignment to only existing keys.

  • Intelligent merging.

  • Overloaded operators.

Aliases

  • nbformat._struct.Struct