benchling-api
benchling-api copied to clipboard
Create folders
It would be useful if you could create and update new folders (and even projects).
Right now I'm using the following monkey-patch, and it seems to work.
benchlingapi.models.Folder.CREATE_SCHEMA = dict(
only=("id", "name", "parent_folder_id", "project_id", "archive_record")
)
benchlingapi.models.Folder.__bases__ = (
benchlingapi.models.mixins.CreateMixin,
) + benchlingapi.models.Folder.__bases__