Skip to content

Fix import statements for package consistency #3

@fbraza

Description

@fbraza

Issue Description

As identified in the code review for PR #2, there are import issues that need to be fixed for proper package structure.

Problem

  • vitals/biomarkers/helpers.py:3 - Uses import schemas instead of relative import
  • vitals/score2/compute.py:9 - Should use relative imports within the package

Current Code

# In helpers.py
import schemas

# In compute.py
from biomarkers import helpers, schemas

Expected Fix

# In helpers.py
from . import schemas

# In compute.py
from ..biomarkers import helpers, schemas

Impact

This is a critical issue that affects module imports and package structure consistency.

Related

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions