Problem setting Non-Zero Dirichlet Boundary Conditions

I am trying to adapt a geometry to the Discontinuous Galerkin Poisson solution.
Following the 2.8 entry, 2.8 Discontinuous Galerkin Methods — NGS-Py 6.2.2404-2-ge6a630133 documentation I find a problem when trying to set non-zero dirichlet boundary conditions.
For H1 spaces (in Continuous Galerkin) I have been using gfu.Set(mesh.BoundaryCF({ “inlet” : exact, “outlet” : exact}), definedon=mesh.Boundaries(“inlet|outlet”))
but as Discontinuous Galerkin requires L2, the boundary conditions can not be set like that.
Any ideas?
Thanks in advance.