Skip to content

Commit

Permalink
Revert "also update varargs passed in"
Browse files Browse the repository at this point in the history
This reverts commit 3d7a30d.
  • Loading branch information
awaelchli committed Jun 2, 2020
1 parent 4fc330a commit 8dc4650
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion pytorch_lightning/core/lightning.py
Original file line number Diff line number Diff line change
Expand Up @@ -1762,7 +1762,6 @@ def _collect_init_args(frame, path_args: list) -> list:

# only collect variables that appear in the signature
local_args = {k: local_vars[k] for k in init_parameters.keys()}
local_args.update(local_args.get(varargs_identifier, {}))
local_args.update(local_args.get(kwargs_identifier, {}))
local_args = {k: v for k, v in local_args.items() if k not in exclude_argnames}

Expand Down

0 comments on commit 8dc4650

Please sign in to comment.