Skip to content

Commit

Permalink
Fix typing test.
Browse files Browse the repository at this point in the history
  • Loading branch information
Gamenot committed Jun 15, 2023
1 parent 5863997 commit 27e91c9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions examples/rl/rllib/rllib.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
import random
from pathlib import Path
from pprint import pprint as print
from typing import Dict, Literal, Union
from typing import Dict, Literal, Optional, Union

import numpy as np

Expand Down Expand Up @@ -109,7 +109,7 @@ def main(
resume_training,
result_dir,
checkpoint_freq: int,
checkpoint_num: int,
checkpoint_num: Optional[int],
log_level: Literal["DEBUG", "INFO", "WARN", "ERROR"],
save_model_path,
):
Expand Down

0 comments on commit 27e91c9

Please sign in to comment.