File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -90,7 +90,7 @@ def _getCommandName(self, command: int) -> str:
9090 return f"Unknown command { command } "
9191
9292 def getCurrentMission (
93- self , mission_type : int , progressUpdateCallback : Optional [Callable ]
93+ self , mission_type : int , progressUpdateCallback : Optional [Callable ] = None
9494 ) -> Response :
9595 """
9696 Get the current mission of a specific type from the drone.
@@ -159,7 +159,7 @@ def getCurrentMissionAll(self) -> Response:
159159 }
160160
161161 def getMissionItems (
162- self , mission_type : int , progressUpdateCallback : Optional [Callable ]
162+ self , mission_type : int , progressUpdateCallback : Optional [Callable ] = None
163163 ) -> Response :
164164 """
165165 Get all mission items of a specific type from the drone.
@@ -537,7 +537,7 @@ def uploadMission(
537537 self ,
538538 mission_type : int ,
539539 waypoints : List [dict ],
540- progressUpdateCallback : Optional [Callable ],
540+ progressUpdateCallback : Optional [Callable ] = None ,
541541 ) -> Response :
542542 """
543543 Uploads the current mission to the drone. This method overwrites the current loader if the upload is successful.
You can’t perform that action at this time.
0 commit comments