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

Add support for defining actions #1

Open
kylef opened this issue Feb 28, 2015 · 0 comments
Open

Add support for defining actions #1

kylef opened this issue Feb 28, 2015 · 0 comments

Comments

@kylef
Copy link
Member

kylef commented Feb 28, 2015

As a user of rivr-rest, I should be able to define non-idempotent actions/transitions on a resource

def get_transitions(self):
    return ('create', 'delete',)

def create_attributes(self):
    return (
        StringAttribute('question', required=True),
    )

rivr-rest-peewee will be able to automatically create create/delete/update transitions based on the database.

@rivrproject rivrproject deleted a comment Jan 6, 2024
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