code: def foo(list_a, list_b):
      results = (
          User.query.filter(User.foo == "bar")
          .filter(  # Because foo.
              db.or_(
                  User.field_a.astext.in_(list_a),
                  User.field_b.astext.in_(list_b),
              )
          )
          .filter(User.xyz.is_(None))
          # Another comment about the filtering on is_quux goes here.
          .filter(
              db.not_(User.is_pending.astext.cast(db.Boolean).is_(True))
          )
          .order_by(User.created_at.desc())
          .with_for_update(key_share=True)
          .all()
      )
      return results
  
imports: from com.my_lovely_company.my_lovely_team.my_lovely_project.my_lovely_component import MyLovelyCompanyTeamProjectComponent
  from com.my_lovely_company.my_lovely_team.my_lovely_project.my_lovely_component import MyLovelyCompanyTeamProjectComponent
label_desc: Use image node_id 1 for calling a global function with example usage: foo(list_a, list_b) and returns: results