diff --git a/src/pynwb/__init__.py b/src/pynwb/__init__.py index 278e48948..727838821 100644 --- a/src/pynwb/__init__.py +++ b/src/pynwb/__init__.py @@ -368,7 +368,9 @@ def read(self, **kwargs): 'default': None}, {'name': 'write_args', 'type': dict, 'doc': 'arguments to pass to :py:meth:`~hdmf.backends.io.HDMFIO.write_builder`', - 'default': None}) + 'default': None}, + {'name': 'cache_spec', 'type': bool, 'doc': 'whether to cache the specification to file', + 'default': True}) def export(self, **kwargs): """ Export an NWB file to a new NWB file using the HDF5 backend.