#1595: set default tc and ldc to None for AgentABC and PrimaiteSession + adding a comment for cli load flag

This commit is contained in:
Czar Echavez
2023-07-17 11:54:54 +01:00
parent ea7c1519fe
commit 6b76214eb2
3 changed files with 9 additions and 4 deletions

View File

@@ -47,8 +47,8 @@ class AgentSessionABC(ABC):
@abstractmethod
def __init__(
self,
training_config_path: Optional[Union[str, Path]] = "",
lay_down_config_path: Optional[Union[str, Path]] = "",
training_config_path: Optional[Union[str, Path]] = None,
lay_down_config_path: Optional[Union[str, Path]] = None,
session_path: Optional[Union[str, Path]] = None,
):
"""

View File

@@ -21,8 +21,8 @@ class SB3Agent(AgentSessionABC):
def __init__(
self,
training_config_path: Optional[Union[str, Path]] = "",
lay_down_config_path: Optional[Union[str, Path]] = "",
training_config_path: Optional[Union[str, Path]] = None,
lay_down_config_path: Optional[Union[str, Path]] = None,
session_path: Optional[Union[str, Path]] = None,
):
"""