Hello,

I get some data from DB and have a sequence of Row objects, how it is 
possible to modify data in those objects attrs?

Something like

result = await dbsession.execute(query)
services = result.all()

for i, service in enumerate(services):
    services[i].title = f"some text here {service.title}"

but I get AttributeError("can't set attribute")

Thanks

-- 
SQLAlchemy - 
The Python SQL Toolkit and Object Relational Mapper

http://www.sqlalchemy.org/

To post example code, please provide an MCVE: Minimal, Complete, and Verifiable 
Example.  See  http://stackoverflow.com/help/mcve for a full description.
--- 
You received this message because you are subscribed to the Google Groups 
"sqlalchemy" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sqlalchemy+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/sqlalchemy/a2552b95-e41b-4fa6-b655-3c16cf5f844en%40googlegroups.com.

Reply via email to