python. Here's the documentation https://docs.qgis.org/3.34/en/docs/user_manual/expressions/expression.html#id10