You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
But in recent versions (1.93.1, for example), "fallback" is underlined in red. Hovering over it shows this:
Argument of type "Literal['fallback']" cannot be assigned to parameter "default" of type "NoValue" in function "__call__"
"Literal['fallback']" is not assignable to "NoValue" Pylance(reportArgumentType)
Similarly, Visual Studio Code used to have no issues with the following code:
But in recent versions, "sqlite:///db.sqlite3" is underlined in red. Hovering over it shows this:
Argument of type "Literal['sqlite:///db.sqlite3']" cannot be assigned to parameter "default" of type "NoValue" in function "db_url"
"Literal['sqlite:///db.sqlite3']" is not assignable to "NoValue" Pylance(reportArgumentType)
I don't know if the issue is with django-environ or Pylance or Pyright.
The text was updated successfully, but these errors were encountered:
Visual Studio Code used to have no issues with the following code:
But in recent versions (1.93.1, for example),
"fallback"
is underlined in red. Hovering over it shows this:Similarly, Visual Studio Code used to have no issues with the following code:
But in recent versions,
"sqlite:///db.sqlite3"
is underlined in red. Hovering over it shows this:I don't know if the issue is with django-environ or Pylance or Pyright.
The text was updated successfully, but these errors were encountered: