kopia lustrzana https://github.com/markqvist/reticulum
				
				
				
			Added request concluded status to Link API
							rodzic
							
								
									cf87b1352a
								
							
						
					
					
						commit
						8ee11ac32c
					
				
							
								
								
									
										11
									
								
								RNS/Link.py
								
								
								
								
							
							
						
						
									
										11
									
								
								RNS/Link.py
								
								
								
								
							|  | @ -1288,6 +1288,17 @@ class RequestReceipt(): | |||
|         else: | ||||
|             return None | ||||
| 
 | ||||
|     def concluded(self): | ||||
|         """ | ||||
|         :returns: True if the associated request has concluded (successfully or with a failure), otherwise False. | ||||
|         """ | ||||
|         if self.status == RequestReceipt.READY: | ||||
|             return True | ||||
|         elif self.status == RequestReceipt.FAILED: | ||||
|             return True | ||||
|         else: | ||||
|             return False | ||||
| 
 | ||||
| 
 | ||||
| 
 | ||||
| class RequestReceiptCallbacks: | ||||
|  |  | |||
		Ładowanie…
	
		Reference in New Issue
	
	 Mark Qvist
						Mark Qvist