Cortamos las cebollas y la calabaza en cubos, luego los colocamos en un bowl condimentándolos con aceite de oliva, sal, pimienta y tomillo.
En una asadera previamente aceitada, clocamos el contenido del bowl, para cocinar en un horno precalentado a 180°c por unos 30 min. Luego reservamos.
Colocar la masa sobre la mesada, con la ayuda de un cuchillo cortar tiras finas desde afuera hacia adentro, sin llegar al medio. Repetir la operación del otro lado.
Colocar el relleno en el centro de la masa.
Llevamos una de las tiras hacia el centro, repetimos lo mismo del otro lado, de manera que se vaya trenzando. Seguir así hasta finalizar. Cerrar las puntas presionando con un tenedor.
En una asadera ya aceitada, colocamos la trenza y pincelamos con un huevo batido para agregar brillo. Llevamos a un horno precalentado a 170°C durante 15- 20 minutos o hasta que dore.