Rinse 200 grams of dried mushrooms under running water to remove any excess dirt
Place the dried mushrooms in the Instant Pot along with 5 cups of water. Set the Instant Pot to cook for 15 minutes on Manual using High Pressure. Wait 10 minutes after the cooking time ends and release the remaining pressure.
Drain the mushrooms and discard the cooking water.
Meanwhile, heat a dry non-stick skillet on medium-high heat. Add 4 Tablespoons of all-purpose flour and brown by stirring constantly.
Chop the onion and garlic.
Using the Saute function on Low, heat the 3 Tablespoons of vegetable oil with the chopped onion and garlic and cook until soft.
Add the browned flour until combined. Add the 4 cups of hot water and simmer for about 10 minutes while you chop the mushrooms into slices.
Season the gravy with 1 teaspoon of salt and an equal amount of ground pepper (or to taste).
Set the Instant Pot to Manual with Low Pressure for 8 minutes. Wait 10 minutes after the cooking time for the pressure to reduce and release the excess steam.
Stir together and add the optional dill or parsley.
Smachnoho!