Skip to content

Unify deprecated 'Property.value' handling #360

Closed

Description

@mpsonntag

The Property.value attribute is deprecated!

  • the Property.value accessor methods currently use a print statement. Refactor to a proper deprecation warning using the warnings module.
  • in Property.__init__ the value can be keyword set, but does not elicit the deprecation warning.
  • in the Section.create_property() method value can be set as a keyword argument, but values can not. Refactor so that values can also be keyword set and that the usage of the value keyword elicits a deprecation warning.

Activity

  1. self-assigned this
    on Apr 22, 2020
  2. added 2 commits that reference this issue on Apr 22, 2020
    a55c466
    46309de
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

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