Library#
A Library datablock (plupy.data.libraries[...]): folders of shelved datablocks, starting at folder().
Create with plupy.data.libraries.new(name) or find through plupy.data.libraries[key]. Inherits DataBlock.
class Library(DataBlock)Inherits DataBlock: its members are documented there.
Usage and examples
folder#
folder(path: str='') -> LibraryFolderReturns a folder view. "" means the library root; child paths use / separators. Creating the view does not create a missing folder; reading its contents then raises KeyError. Folder views follow their path, not a stable rename/move identity.
items#
items # read-onlyRoot folder's Collection[DataBlock]. Supports ID/name lookup and iteration.
Related types#
Collection · DataBlock · LibraryFolder
Source#
- _live.py:1470