diff --git a/netmiko/cisco/cisco_xr.py b/netmiko/cisco/cisco_xr.py index fae8d2556..78efeafe8 100644 --- a/netmiko/cisco/cisco_xr.py +++ b/netmiko/cisco/cisco_xr.py @@ -56,10 +56,11 @@ def commit( self, confirm: bool = False, confirm_delay: Optional[int] = None, - comment: str = "", - label: str = "", + comment: Optional[str] = None, + label: Optional[str] = None, read_timeout: float = 120.0, delay_factor: Optional[float] = None, + replace: bool = False, ) -> str: """ Commit the candidate configuration. @@ -72,17 +73,11 @@ def commit( command_string = commit label