Sieve flour into a bowl, combine with baking powder, salt, pepper, thyme and beer, mix until smooth. Add eggs and mix well. Batter should be relatively thick.
Cut pumpkin into bite-sized pieces. Coat with flour and dip into batter. Heat oil in a pan to 170°C (approximately 325°F) and fry pumpkin pieces, few at a time, for 2-3 minutes or until golden brown.
Drain on paper towels and keep warm in the oven as needed (at 80°C) (approximately 175°F).
Serve, if desired, with lemon creme fraiche.