Splitting up large files
Organize code into modules
Break up import cycles
my_function
to path/to/dst/location.py
, safely updating all references to it in the process.
include_dependencies=False
, only the symbol itself will be moved, and any dependencies will remain in the original file.
codebase.commit()
between them to ensure the codebase graph is up-to-date.