| 
						
						
							
								
							
						
						
					 | 
					 | 
					@ -142,19 +142,20 @@ class delegate:
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					            
 | 
					 | 
					 | 
					 | 
					            
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					
 | 
					 | 
					 | 
					 | 
					
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					            _pointer = _plugins[_uri]
 | 
					 | 
					 | 
					 | 
					            _pointer = _plugins[_uri]
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					            if hasattr(_pointer,'mimetype') and _request.method in _pointer.method:
 | 
					 | 
					 | 
					 | 
					            _data = {}
 | 
				
			
			
				
				
			
		
	
		
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					            if hasattr(_pointer,'mimetype') and hasattr(_pointer,'method'):
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					                #
 | 
					 | 
					 | 
					 | 
					                #
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					                # we constraint the methods given their execution ...
 | 
					 | 
					 | 
					 | 
					                # we constraint the methods given their execution ...
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					                _mimeType = _pointer.mimetype 
 | 
					 | 
					 | 
					 | 
					                _mimeType = _pointer.mimetype 
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					                if  _request.method in _pointer.method :
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					                    _data = _pointer(request=_request,config=_config)
 | 
					 | 
					 | 
					 | 
					                    _data = _pointer(request=_request,config=_config)
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					            else:
 | 
					 | 
					 | 
					 | 
					            elif not hasattr(_pointer,'mimetype'):
 | 
				
			
			
				
				
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					                _mimeType = 'application/octet-stream'
 | 
					 | 
					 | 
					 | 
					 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					                try:
 | 
					 | 
					 | 
					 | 
					 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					                    _data,_mimeType = _pointer(request=_request,config=_config)
 | 
					 | 
					 | 
					 | 
					 | 
				
			
			
		
	
		
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					                
 | 
					 | 
					 | 
					 | 
					                
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					                except Exception as e:
 | 
					 | 
					 | 
					 | 
					                _data,_mimeType = _pointer(request=_request,config=_config)
 | 
				
			
			
				
				
			
		
	
		
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					                    
 | 
					 | 
					 | 
					 | 
					                    
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					                    _data = _pointer(request=_request,config=_config)
 | 
					 | 
					 | 
					 | 
					            else:     
 | 
				
			
			
				
				
			
		
	
		
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					                _mimeType = 'application/octet-stream'
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					            #     _data = _pointer(request=_request,config=_config)
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					            if type(_data) == pd.DataFrame :
 | 
					 | 
					 | 
					 | 
					            if type(_data) == pd.DataFrame :
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					                _data = _data.to_json(orient='records')
 | 
					 | 
					 | 
					 | 
					                _data = _data.to_json(orient='records')
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					            elif type(_data) in [dict,list] :
 | 
					 | 
					 | 
					 | 
					            elif type(_data) in [dict,list] :
 | 
				
			
			
		
	
	
		
		
			
				
					| 
						
							
								
							
						
						
						
					 | 
					 | 
					
 
 |