Fix typo # pylance: ignore > # pyright: ignore (#4072)

In #3972, `# pyright: ignore` was added in multiple places in the docs, and `# pylance: ignore` only once. I believe it's a typo, as AFAIK such a typing ignore comment flag doesn't exist.
This commit is contained in:
Blake Naccarato
2022-05-13 11:10:55 -07:00
committed by GitHub
parent 268588b08d
commit f419710381
+1 -1
View File
@@ -269,7 +269,7 @@ reasons behind this, and why we can't avoid the problem.
There are two potential workarounds:
* use an ignore comment (`# pylance: ignore`) when initialising `settings`
* use an ignore comment (`# pyright: ignore`) when initialising `settings`
* or, use `settings.parse_obj({})` to avoid the warning
## Adding a default with `Field`