File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -8,6 +8,11 @@ Features:
88 ([ #184 ] ( https://github.com/sloria/environs/pull/184 ) ).
99 Thanks [ tomgrin10] ( https://github.com/tomgrin10? ) for the PR.
1010
11+ Bug fixes:
12+
13+ - Loosen ` ParserMethod ` typing ([ #186 (comment)] ( https://github.com/sloria/environs/issues/186#issuecomment-723163520 ) ).
14+ Thanks [ hukkinj1] ( https://github.com/hukkinj1 ) for the PR.
15+
1116Other changes:
1217
1318- When using deferred validation (` eager=False ` ), parser methods return ` None `
Original file line number Diff line number Diff line change 3030Subcast = typing .Union [typing .Type , typing .Callable [..., _T ]]
3131FieldType = typing .Type [ma .fields .Field ]
3232FieldOrFactory = typing .Union [FieldType , FieldFactory ]
33- ParserMethod = typing .Callable [..., typing . Optional [ _T ]]
33+ ParserMethod = typing .Callable
3434
3535
3636_EXPANDED_VAR_PATTERN = re .compile (r"(?<!\\)\$\{([A-Za-z0-9_]+)(:-[^\}:]*)?\}" )
You can’t perform that action at this time.
0 commit comments