class ClassA def return ClassA objects get filter class ClassB ClassA

1
2
3
4
5
class ClassA:
def x(?,y,z):
return ClassA.objects.get(y).filter(z)
class ClassB(ClassA):