Skip to content

Commit 1e58c96

Browse files
authored
Update type hint for log_model (#12223)
1 parent 834115b commit 1e58c96

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pytorch_lightning/loggers/wandb.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -256,7 +256,7 @@ def __init__(
256256
anonymous: Optional[bool] = None,
257257
version: Optional[str] = None,
258258
project: Optional[str] = None,
259-
log_model: Optional[bool] = False,
259+
log_model: Union[str, bool] = False,
260260
experiment=None,
261261
prefix: Optional[str] = "",
262262
**kwargs,

0 commit comments

Comments
 (0)