Gov't Code Section 2252.904
(a)In this section:
(1)“Governmental contract” means a contract awarded by a governmental entity for general construction, an improvement, a service, or a public works project or for a purchase of supplies, materials, or equipment.
(2)“Governmental entity” means:
(B)a municipality, county, public school district, or special-purpose district or authority;
(C)a district, county, or justice of the peace court;
(D)a board, commission, department, office, or other agency in the executive branch of state government, including an institution of higher education as defined by Section 61.003 (Definitions), Education Code;
(E)the legislature or a legislative agency; or
(F)the Supreme Court of Texas, the Texas Court of Criminal Appeals, a court of appeals, or the State Bar of Texas or another judicial agency having statewide jurisdiction.
(b)A governmental contract may not provide for the award of attorney’s fees to the governmental entity in a dispute in which the entity prevails unless the contract provides for the award of attorney’s fees to each other party to the contract if that party prevails in the dispute.
(c)A contract provision that violates this section is void and unenforceable.
Section 2252.904 — Attorney's Fees,
https://statutes.capitol.texas.gov/Docs/GV/htm/GV.2252.htm#2252.904 (accessed Dec. 2, 2023).