Can you suggest a more pythonic way to find and return an element of a list that has a specific attribute value

后端 未结 0 960
北恋
北恋 2020-12-14 03:30

I have a list of AssetClass objects where

class AssetClass(db.Model):
    id = db.Column(db.Integer, primary_key=True)
    title = db.Column(db.String(100), n         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题