TypeError: TypedDict does not support instance and class checks

I am getting following error in Browser library,

TypeError: TypedDict does not support instance and class checks

KEYWORD Browser . New Context httpCredentials=${credentials}

Documentation: Create a new BrowserContext with specified options. See Browser, Context and Page for more information about BrowserContext.
Tags: BrowserControl, Setter
Start / End / Elapsed: 20210513 09:43:59.248 / 20210513 09:43:59.259 / 00:00:00.011

09:43:59.259 FAIL TypeError: TypedDict does not support instance and class checks

test case below,

  • Settings ***
    Library SeleniumLibrary
    Library OperatingSystem
    Library Browser

*** Test Cases ***
Starting a browser with a page
New Browser chromium headless=false
New Context viewport={‘width’: 1920, ‘height’: 1080}
New Page https://marketsquare.github.io/robotframework-browser/Browser.html
Get Title == Browser

I think, I saw that error when using robotframework==4.0.1

I had to fall back to robotframework==4.0

Maybe it is fixed now in 4.0.2