Skip to content

Check imports throughout codes #920

@gadieid

Description

@gadieid

I encountered an import problem in hera/riskassessment/agents/effects/Calculator.py
from utils.unitHandler import unumToPint

which fails to import since utils is in the hera directory so should be

from hera.utils.unitHandler import unumToPint

go through entire codebase to check imports starts from correct place (hera/hera is not and should not be in PYTHONPATH)

I already fixed this occurrence with a quick patch but want to verify the rest of the code

Metadata

Metadata

Assignees

Labels

No labels
No 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