Skip to content
This repository was archived by the owner on Mar 22, 2026. It is now read-only.
This repository was archived by the owner on Mar 22, 2026. It is now read-only.

Handle relative imports for users #21

Description

@rosskipp

We don't seem to handle relative imports very well. This can lead to confusion and frustration.

Currently, if someone does this, we won't get the import (TODO - not sure this is exactly right) :

from package.something.whatever import NewInstance

class MyObject(param1, param2)
    ...
    ...

NewInstance = MyObject(param1, param2)

They have to do this instead:

from package.something.wahtever import MyObject

NewInstance = MyObject(param1, param2)

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions