mirror of
				https://github.com/encode/django-rest-framework.git
				synced 2025-11-04 09:57:55 +03:00 
			
		
		
		
	Remove unreachable code from ManualSchema (#5766)
ManualSchema.get_link had two return statements. Prune the second (unreachable) return.
This commit is contained in:
		
							parent
							
								
									78367ba102
								
							
						
					
					
						commit
						588b61e171
					
				| 
						 | 
				
			
			@ -456,8 +456,6 @@ class ManualSchema(ViewInspector):
 | 
			
		|||
            description=self._description
 | 
			
		||||
        )
 | 
			
		||||
 | 
			
		||||
        return self._link
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
class DefaultSchema(object):
 | 
			
		||||
    """Allows overriding AutoSchema using DEFAULT_SCHEMA_CLASS setting"""
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
		Reference in New Issue
	
	Block a user