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
my_datetime: datetime = dt.datetime.fromisoformat(my_str)
In this case, : datetime is an inlay hint, but it should be dt.datetime to namespace correctly. Might be nicer to read dt.datetime too, so that it matches how you're using it in the code (dt.datetime.fromisoformat).
--
Currently also has an effect if e.g. using the mouse to copy code with inlay hints, from a terminal to a repl, which then fails on the repl due to invalid type hint.
my_datetime: datetime = dt.datetime.fromisoformat(my_str)
In this case,
: datetime
is an inlay hint, but it should bedt.datetime
to namespace correctly. Might be nicer to readdt.datetime
too, so that it matches how you're using it in the code (dt.datetime.fromisoformat
).--
Currently also has an effect if e.g. using the mouse to copy code with inlay hints, from a terminal to a repl, which then fails on the repl due to invalid type hint.
Originally posted by @npip99 in #198 (comment)
The text was updated successfully, but these errors were encountered: