How to hide the keyboard after the text is entered while running a native app automation test using Python?

I am running native app automation test using Python and I want to hide the keyboard after the text is entered. How can I do that?

Hi Dipen Soni,

You can add the below command after entering text in your Python script:

driver.hide_keyboard()