Skip to content

Commit

Permalink
Remove unused subcast argument (#323)
Browse files Browse the repository at this point in the history
  • Loading branch information
sloria authored Jan 19, 2024
1 parent 4114c35 commit a9bfff0
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 1 deletion.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ Other changes:
- Remove `subcast_key` argument of `env.dict`. Use `subcast_keys` instead.
- Bump minimum required marshmallow version to 3.13.0.
- Remove `missing` argument from `Env` methods. Use `default` instead.
- Remove `subcast` argument from `Env` methods that don't use it.
- _Backwards-incompatible_: Remove `environs.__version__` variable.
Use `importlib.metadata.version("environs")` instead.

Expand Down
1 change: 0 additions & 1 deletion src/environs/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,6 @@ def method(
self: "Env",
name: str,
default: typing.Any = ma.missing,
subcast: typing.Optional[typing.Type] = None,
**kwargs,
) -> typing.Optional[_T]:
if self._sealed:
Expand Down

0 comments on commit a9bfff0

Please sign in to comment.