Hacktoberfest 2026: the issues maintainers tagged for October, open and beginner-friendly. Browse Hacktoberfest issues

Circular imports in property.py

Open
#100 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
5/5
Estimated time
Over a week
Newbie friendliness
25/100
Issue type
Refactor
Clarity
Needs clarification
Activity status
Stale
Tech stack
python
Domain
backend

Research direction

Start with odml/property.py at line 119 and trace the property.py → section.py → property.py import cycle described in the issue. Determine a cleaner way to resolve that dependency, then verify that the circular import is gone without changing the intended behavior.

Written by the indexing model from the issue text.

Description

In property.py we have an import statement in the body of a method:
https://github.com/G-Node/python-odml/blob/master/odml/property.py#L119

This is done to avoid the circular import property.py → section.py → property.py.
We should find a cleaner way to resolve this.

Dominant language
Python
Stars
25
Forks
30
PR merge metrics
No merged PRs in 30d

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from G-Node/python-odml

All issues in G-Node/python-odml

Similar issues

More Python issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.