Skip to content

Merge get_xxx and get_all_xxx methods #5

@hbredin

Description

@hbredin

I think it would simplify the client (from user perspective) to merge get_xxx and get_all_xxx methods (where xxx can be user, group, corpus, etc...)

Example for user methods

def get_user(self, user_id=None):
    route = 'user'
    if user_id is not None:
        route = route + '/' + user_id
    return self.get(route)

@juandelamontana @clbarras what do you think?

Metadata

Metadata

Assignees

No one assigned

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions