Skip to content

Document exceptions for __init__ and from_dict() methods in Metadata API #1819

Closed

Description

@MVrachev

Document ValueError (and KeyError if needed) exceptions for __init__ and from_dict() methods in Metadata API.

The reason this was not done is that this sort of makes it looks like the programmer should handle these errors... but as long as we are clear in the docstring that these are invalid argument errors, this should be fine

For context read #1785

Activity

  1. self-assigned this
    on Feb 2, 2022
  2. added
    1.0.0 blockers
    on Feb 2, 2022
  3. added this to the sprint 16 milestone on Feb 2, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

1.0.0 blockers

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions