Hi @Addie, Andrew ,
First of all, it should be clear that this is a SQL Server forum, we are not familiar with sqlalchemy and cannot give help with it.
Please check version of ODBC driver, not sure if the code you shown is complete, but you may need 'DRIVER={ODBC Driver 17 for SQL Server}'
instead driver=SQL Server
https://datadiaries.dev/connecting-to-microsoft-sql-server-using-sqlalchemy-and-pyodbc
-------------
If the answer is the right solution, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.