Buckets:
| from rest_framework import serializers | |
| from .models import Simulation | |
| class SimulationSerializer(serializers.ModelSerializer): | |
| class Meta: | |
| model = Simulation | |
| fields = [ | |
| 'id', 'name', 'parameters', 'status', | |
| 'created_at', 'updated_at', 'completed_at', | |
| 'result_summary', 'result_file_path', 'result_image_path', | |
| 'error_message' | |
| ] | |
| read_only_fields = ['id', 'status', 'created_at', 'updated_at', | |
| 'completed_at', 'result_summary', 'result_file_path', | |
| 'result_image_path', 'error_message'] |
Xet Storage Details
- Size:
- 622 Bytes
- Xet hash:
- cd93c656c746c211076ec07173ff37c77f5bdc68cefb9ff278d096ee9851751e
·
Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.