FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

Throw error for non-valid keyword arguments in `fetch` · Issue #343 · datajoint/datajoint-python · GitHub

Repository navigation

Throw error for non-valid keyword arguments in fetch #343

Closed

Description

Currently, when you invoke fetch with any unsupported keyword arguments (eg. rel.fetch(abcdefg=0)), the argument gets ignored silently. Although this may appear harmful at first, this makes detecting misspelled key word argument extremely difficult, leading to very difficult to spot bug in the code. When user passes in keyword arguments that are not explicitly supported by fetch (e.g. order_by or limit), then fetch should throw an error to notify the user.

Activity

  1. self-assigned this
    on Jul 30, 2017
  2. added this to the milestone on Jul 31, 2017
  3. modified the milestones: , Release 0.9 on Oct 4, 2017
  4. dimitri-yatsenko commented on Nov 16, 2017

    Member

    Fixed in #377

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

enhancementIndicates new improvements

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions


    Back | FazBrowse Home | New Git URL