1111def main_shutdown_gsidna (
1212 port : str ,
1313 timeout : int = 15 ,
14- retry : int = 1 ,
14+ attempts : int = 1 ,
1515 baud : int = 9600 ,
1616 sync_after_timeout : bool = False
1717) -> None :
@@ -20,11 +20,11 @@ def main_shutdown_gsidna(
2020 port ,
2121 speed = baud ,
2222 timeout = timeout ,
23- retry = retry ,
23+ attempts = attempts ,
2424 sync_after_timeout = sync_after_timeout ,
2525 logger = logger .getChild ("com" )
2626 ) as com :
27- instrument = GsiOnlineDNA (com , logger .getChild ("instrument" ))
27+ instrument = GsiOnlineDNA (com , logger = logger .getChild ("instrument" ))
2828 resp = instrument .shutdown ()
2929
3030 if resp .value :
@@ -38,7 +38,7 @@ def main_shutdown_geocom(
3838 component : str ,
3939 port : str ,
4040 timeout : int = 15 ,
41- retry : int = 1 ,
41+ attempts : int = 1 ,
4242 baud : int = 9600 ,
4343 sync_after_timeout : bool = False
4444) -> None :
@@ -47,11 +47,11 @@ def main_shutdown_geocom(
4747 port ,
4848 speed = baud ,
4949 timeout = timeout ,
50- retry = retry ,
50+ attempts = attempts ,
5151 sync_after_timeout = sync_after_timeout ,
5252 logger = logger .getChild ("com" )
5353 ) as com :
54- instrument = GeoCom (com , logger .getChild ("instrument" ))
54+ instrument = GeoCom (com , logger = logger .getChild ("instrument" ))
5555
5656 match component :
5757 case "protocol" :
@@ -81,7 +81,7 @@ def main_shutdown_geocom(
8181def main_startup_gsidna (
8282 port : str ,
8383 timeout : int = 15 ,
84- retry : int = 1 ,
84+ attempts : int = 1 ,
8585 baud : int = 9600 ,
8686 sync_after_timeout : bool = False
8787) -> None :
@@ -90,11 +90,11 @@ def main_startup_gsidna(
9090 port ,
9191 speed = baud ,
9292 timeout = timeout ,
93- retry = retry ,
93+ attempts = attempts ,
9494 sync_after_timeout = sync_after_timeout ,
9595 logger = logger .getChild ("com" )
9696 ) as com :
97- instrument = GsiOnlineDNA (com , logger .getChild ("instrument" ))
97+ instrument = GsiOnlineDNA (com , logger = logger .getChild ("instrument" ))
9898 resp = instrument .wakeup ()
9999
100100 if resp .value :
@@ -108,7 +108,7 @@ def main_startup_geocom(
108108 component : str ,
109109 port : str ,
110110 timeout : int = 15 ,
111- retry : int = 1 ,
111+ attempts : int = 1 ,
112112 baud : int = 9600 ,
113113 sync_after_timeout : bool = False
114114) -> None :
@@ -117,11 +117,11 @@ def main_startup_geocom(
117117 port ,
118118 speed = baud ,
119119 timeout = timeout ,
120- retry = retry ,
120+ attempts = attempts ,
121121 sync_after_timeout = sync_after_timeout ,
122122 logger = logger .getChild ("com" )
123123 ) as com :
124- instrument = GeoCom (com , logger .getChild ("instrument" ))
124+ instrument = GeoCom (com , logger = logger .getChild ("instrument" ))
125125
126126 match component :
127127 case "instrument" :
0 commit comments