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 I believe we should expect my_list to be of type list[int] instead (that'd be consistent with the other types, e.g. env.int("MY_INT", default=123) returning int, etc).
Note that the same behavior is observed for env.dict as well.
Thanks!
The text was updated successfully, but these errors were encountered:
Hi!
Is there any particular reason for the typing of
env.list
to belist | None
even when providing a non-null default?For example, the code below is valid:
but I believe we should expect
my_list
to be of typelist[int]
instead (that'd be consistent with the other types, e.g.env.int("MY_INT", default=123)
returningint
, etc).Note that the same behavior is observed for
env.dict
as well.Thanks!
The text was updated successfully, but these errors were encountered: