code: def library(self) -> Library:
          
          assert self.__app.document_model
          return Library(self.__app.document_model)
docs: Return the library object.
  
          .. versionadded:: 1.0
  
          Scriptable: Yes