I'm using tuple to set params in sql query but it converts str params to int. I need the params keep being a string.

From a function I create a query using .sql file.
My .sql file is something like that:

```
update table t
set t.status = %s
where t.id in (%s)

```

My function to create a query from file is:

```
def create_query(where=[]):
   path = f'./file.sql'
   with open(path, 'r') as file:
      query = file.readlines()
      return ' '.join(query)

   return None

```

I call my function from this way passing the parameters:

```
status = 'CREATED'
ids = ('123', '1324', '124512')

params = list([ status, ids ])
query = create_query() % tuple(params)

```

I get a query like this:

> 
> update table t set t.status = CREATED where t.id in (22457, 22458,
> 22459)
> 
> 
> 

I would like to do the interpolation keeping the quotations marks.
So, the query should look like this:

> 
> update table t set t.status = 'CREATED' where t.id in (22457, 22458,
> 22459)
> 
> 
> 

If I do this:

```
status = ('CREATED',)
ids = ('123', '1324', '124512')

params = list([ status, ids ])
query = create_query() % params

```

I get this:

> 
> update table t set t.status = ('CREATED',) where t.id in (22457, 22458, 22459)
> And it doesn't work for errors in my sql (comma in status).
> 
> 
> 

**I'm using sqlalchemy**

I solved the problem modifying my .sql file adding single quote.

```
update table t
set t.status = '%s'
where t.id in (%s)

```