コード例 #1
0
ファイル: version.py プロジェクト: yan99uic/spot-sdk
 def get_software_version_full_async(self, **kwargs):
     """Async version of get_software_version_full()"""
     request = version_pb2.GetSoftwareVersionRequest()
     return self.call_async(
         self._stub.GetSoftwareVersion,
         request,
         error_from_response=self._version_error_from_response,
         **kwargs)
コード例 #2
0
ファイル: version.py プロジェクト: yan99uic/spot-sdk
    def get_software_version(self, **kwargs):
        """Retrieves the Spot CAM's current software version.

        Returns:
            SoftwareVersion proto for the currently installed version.
        """
        request = version_pb2.GetSoftwareVersionRequest()
        return self.call(self._stub.GetSoftwareVersion, request,
                         self._get_software_version_from_response,
                         self._version_error_from_response, **kwargs)
コード例 #3
0
ファイル: version.py プロジェクト: yan99uic/spot-sdk
    def get_software_version_full(self, **kwargs):
        """Retrieves the Spot CAM's full version information.

        Returns:
            GetSoftwareVersionResponse proto with all version information.
        """
        request = version_pb2.GetSoftwareVersionRequest()
        return self.call(self._stub.GetSoftwareVersion,
                         request,
                         error_from_response=self._version_error_from_response,
                         **kwargs)