SQLAlchemy couldn't resolve the string 'Site' in ManagerAccount's relationship() at query time because Site wasn't guaranteed to be imported first. Adding the explicit import ensures the mapper is configured correctly regardless of import order. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>