mirror of
				https://github.com/graphql-python/graphene.git
				synced 2025-11-04 01:47:45 +03:00 
			
		
		
		
	Added is_base_type back
This commit is contained in:
		
							parent
							
								
									8bf6b22765
								
							
						
					
					
						commit
						5ca6f6cb7b
					
				
							
								
								
									
										3
									
								
								graphene/utils/is_base_type.py
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										3
									
								
								graphene/utils/is_base_type.py
									
									
									
									
									
										Normal file
									
								
							| 
						 | 
				
			
			@ -0,0 +1,3 @@
 | 
			
		|||
 | 
			
		||||
def is_base_type(bases, _type):
 | 
			
		||||
    return any(b for b in bases if isinstance(b, _type))
 | 
			
		||||
		Loading…
	
		Reference in New Issue
	
	Block a user