Skip to content

Import statements #80

Description

@verbman

Hi there!

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

Here is what I did:

I used the default import statement:
from openfisca_core.model_api import *

Here is what I expected to happen:

It worked but I felt like it's not best practice yet it's current practice and think we should have a conversation about it.

Here is what I propose we do:

from openfisca_core.model_api import MONTH, YEAR

Context

I identify more as a:

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions