Coverage for django_napse/api/bots/serializers/architecture_serializer.py: 100%

7 statements  

« prev     ^ index     » next       coverage.py v7.4.3, created at 2024-03-12 13:49 +0000

1from rest_framework import serializers 

2 

3from django_napse.core.models.bots.architecture import Architecture 

4 

5 

6class ArchitectureSerializer(serializers.ModelSerializer): 

7 class Meta: 

8 model = Architecture 

9 fields = "__all__" 

10 read_only_fields = [ 

11 "id", 

12 ]