Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Create folders #44

Open
shenker opened this issue Feb 8, 2021 · 0 comments
Open

Create folders #44

shenker opened this issue Feb 8, 2021 · 0 comments

Comments

@shenker
Copy link

shenker commented Feb 8, 2021

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__
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant