Skip to content

schola.scripts.sb3.launch.get_dataclass_args

Function Definition

schola.scripts.sb3.launch.get_dataclass_args(args, dataclass)

Get the arguments for a dataclass from a dictionary, potentially containing additional arguments.

Parameters

args

Type: Dict[str, Any]
The dictionary of arguments.

dataclass

Type: Type[Any]
The dataclass to get the arguments for.

Returns

Return type: Dict[str, Any]

The arguments for the dataclass.