fix(itam): correct truthy check for cluster type ViewSet property when evaluating serializer_class

ref: #513 #518
This commit is contained in:
2025-02-06 17:00:49 +09:30
parent 2baee0e4d0
commit 10e63b3135

View File

@ -72,7 +72,7 @@ class ViewSet( ModelViewSet ):
def get_serializer_class(self):
if self.serializer_class:
if self.serializer_class is not None:
return self.serializer_class