Preheat the oven to 400 degrees. Saute' the bacon just until clear. Drain most of the fat from the pan. Add the onions and saute' until they are clear. Do not brown them. Set aside and cool. Beat the eggs and sour cream together in a medium-sized bowl. Sprinkle the flour over the top and beat it in. Stir in the salt and pepper.
Prick the bottom of the pie shell several times with a fork. Spread the onions and bacon over the dough in the pie pan. Pour the sour cream mixture over the top. Bake for 15 minutes. Reduce heat to 350F and bake for another 15 minutes or until pie is nicely browned. Serve hot