mirror of
				https://github.com/graphql-python/graphene.git
				synced 2025-10-31 16:07:27 +03:00 
			
		
		
		
	
						commit
						7bd77a0817
					
				|  | @ -6,13 +6,11 @@ string_types = (type(b''), type(u'')) | |||
| 
 | ||||
| 
 | ||||
| def warn_deprecation(text): | ||||
|     warnings.simplefilter('always', DeprecationWarning) | ||||
|     warnings.warn( | ||||
|         text, | ||||
|         category=DeprecationWarning, | ||||
|         stacklevel=2 | ||||
|     ) | ||||
|     warnings.simplefilter('default', DeprecationWarning) | ||||
| 
 | ||||
| 
 | ||||
| def deprecated(reason): | ||||
|  |  | |||
		Loading…
	
		Reference in New Issue
	
	Block a user