Coverage for django_napse/api/bots/serializers/config_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.config import BotConfig 

4 

5 

6class ConfigSerializer(serializers.ModelSerializer): 

7 class Meta: 

8 model = BotConfig 

9 fields = "__all__" 

10 read_only_fields = [ 

11 "uuid", 

12 "immutable", 

13 ]