1. In a frying pan, heat oil and sauté mushrooms and onion.
2. In a bowl, mix one egg, flour, cheeses, and spices.
3. Place 1/2 teaspoon of the mixture in the middle of each pastry square. Top with 1/2 teaspoon of the mushroom mixture.
4. Fold over the dough to form triangles and press the edges tightly.
5. Whisk the other egg and brush it on top of each triangle. Top with everything spice or sesame seeds.
6. Bake at 375 degrees Fahrenheit for 20 minutes.