| 
					
				 | 
			
			
				@@ -164,17 +164,12 @@ def _generate_pb2_grpc_src_impl(context): 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         mnemonic = "ProtocInvocation", 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     ) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				  
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-    imports = [] 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-    if out_dir.import_path: 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        #TODO: I believe this can be deleted, the rule requires a py_proto_library, and that rule will 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        # properly update imports. 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        imports.append("__main__/%s" % out_dir.import_path) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				- 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     return [ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         DefaultInfo(files = depset(direct = out_files)), 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         PyInfo( 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             transitive_sources = depset(), 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            imports = depset(direct = imports), 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            # Imports are already configured by the generated py impl 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            imports = depset(), 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         ), 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     ] 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				  
			 |