open source driving agent
				
			 
			
		 
		
		
		
		
		
		
			You can not select more than 25 topics
			Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
		
		
		
		
		
			
	
	
		
	
		
			
				
				
					
						
						
						
							|  | # remove all keys that end in DEPRECATED
 | 
						
						
						
							|  | def strip_deprecated_keys(d):
 | 
						
						
						
							|  |   for k in list(d.keys()):
 | 
						
						
						
							|  |     if isinstance(k, str):
 | 
						
						
						
							|  |       if k.endswith('DEPRECATED'):
 | 
						
						
						
							|  |         d.pop(k)
 | 
						
						
						
							|  |       elif isinstance(d[k], dict):
 | 
						
						
						
							|  |         strip_deprecated_keys(d[k])
 | 
						
						
						
							|  |   return d
 | 
						
						
						
							|  | 
 |