mirror of
				https://github.com/graphql-python/graphene-django.git
				synced 2025-11-04 09:57:53 +03:00 
			
		
		
		
	Fix Python 2.7 super arguments
This commit is contained in:
		
							parent
							
								
									be4a6231ae
								
							
						
					
					
						commit
						3051374b46
					
				| 
						 | 
					@ -78,7 +78,7 @@ def test_django_objecttype_with_custom_meta():
 | 
				
			||||||
        @classmethod
 | 
					        @classmethod
 | 
				
			||||||
        def __init_subclass_with_meta__(cls, _meta=None, **options):
 | 
					        def __init_subclass_with_meta__(cls, _meta=None, **options):
 | 
				
			||||||
            _meta = ArticleTypeOptions(cls)
 | 
					            _meta = ArticleTypeOptions(cls)
 | 
				
			||||||
            super().__init_subclass_with_meta__(_meta=_meta, **options)
 | 
					            super(ArticleType, cls).__init_subclass_with_meta__(_meta=_meta, **options)
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    class Article(ArticleType):
 | 
					    class Article(ArticleType):
 | 
				
			||||||
        class Meta:
 | 
					        class Meta:
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
		Reference in New Issue
	
	Block a user