Skip to content

Commit

Permalink
return line 318 to its original state
Browse files Browse the repository at this point in the history
  • Loading branch information
Pedro Eduardo Mercado Lopez committed Aug 22, 2023
1 parent c3d1f36 commit 26065ff
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/gluonts/core/serde/_base.py
Original file line number Diff line number Diff line change
Expand Up @@ -315,7 +315,7 @@ def decode(r: Any) -> Any:

assert cls is not None, f"Can not locate {r['class']}."

if kind == Kind.Type.value:
if kind == Kind.Type:
return cls

args = decode(r.get("args", []))
Expand Down

0 comments on commit 26065ff

Please sign in to comment.