Skip to content

Variables cannot have a metadata: dict attribute, unlike parametersΒ #1071

@nikhilwoodruff

Description

@nikhilwoodruff

Hi there!

I really enjoy OpenFisca, but I recently encountered an issue.

Here is what I did:

Added a metadata: dict attribute to a Variable class.

Here is what I expected to happen:

The attribute to be silently accepted.

Here is what actually happened:

A ValueError was thrown, specifying that metadata is not in the allowed attribute list.

Context

I identify more as a:

  • Developer (I create tools that use the existing OpenFisca code).

Metadata

Metadata

Assignees

Labels

kind:featA feature request, a feature deprecationtype:contribContribution from the community (PR)

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions