mirror of
				https://gitlab.ub.uni-bielefeld.de/sfb1288inf/nopaque.git
				synced 2025-11-03 20:02:47 +00:00 
			
		
		
		
	Implement corpora endpoint/socket.io namespace
This commit is contained in:
		@@ -169,6 +169,7 @@ class CQiOverSocketIONamespace(Namespace):
 | 
			
		||||
 | 
			
		||||
        for param in signature(fn).parameters.values():
 | 
			
		||||
            # Check if the parameter is optional or required
 | 
			
		||||
            # The following is true for required parameters
 | 
			
		||||
            if param.default is param.empty:
 | 
			
		||||
                if param.name not in fn_args:
 | 
			
		||||
                    return {'code': 400, 'msg': 'Bad Request'}
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user