andre-d/reddit — comment on commit cedf3bb1b1cc964b9dd77b217cccf9cbf8d19caa
File: r2/r2/models/link.py line 223
By spladug:

This import should be at the top of the file with the rest of the imports, not mid-function.