Equivalent for assemble in dolfinx

Hi,

I´m currently trying to port my code from Legacy FEniCS to FEniCS X.

I used sth. like

val = assemble(u_n*ds)

What’s the equivalent in FEniCS X?

Thanks!

See, for example, @dokken’s excellent dolfinx tutorial for guides on updating your code.