Skip to content

Should we pass ?limit=0 when hitting the table endpoint, knowing that it is the default? #364

@dmonroy

Description

@dmonroy

In a recent conversation with @malecki he mentioned that default value for limit parameter in querystring for /table/ endpoint is 0. We went to this conversation by looking at the problem that I described in #363.

When loading variables from table endpoint we are being explicit with the limit parameter, setting it to 0:

table = ds.follow("table", urlencode({
'limit': 0
}))

I know someone would say that Explicit is better than implicit, and I will usually agree with that if it wouldn't be that it seems to be causing the problem I described in #363, so we must either remove the default value or prevent it from causing problems.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions