This commit is contained in:
		@@ -88,3 +88,13 @@ class AssignmentView(FlaskView):
 | 
				
			|||||||
        # Asking myself...
 | 
					        # Asking myself...
 | 
				
			||||||
 | 
					
 | 
				
			||||||
        return jsonify(resp)
 | 
					        return jsonify(resp)
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					    def get(self):
 | 
				
			||||||
 | 
					        current_scheduling_table = {}
 | 
				
			||||||
 | 
					        for key in redis_client.keys("SCHEDULED:*"):
 | 
				
			||||||
 | 
					            target = redis_client.get(key)
 | 
				
			||||||
 | 
					            if target:
 | 
				
			||||||
 | 
					                name = key[10:]
 | 
				
			||||||
 | 
					                current_scheduling_table[name] = target
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					        return jsonify(current_scheduling_table)
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user