Skip to content

Is there a way to refactor and move a variable to a new file and update imports? #832

Open
@himat

Description

Ex. I want to move foo to a new file a2.py and have the import in b.py auto update to use that new path.
Is this possible?

# a.py

def foo():
    pass
# b.py

from a import foo

def bar():
    return foo()

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

Labels

No labels
No labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions