Coverage for /opt/conda/envs/apienv/lib/python3.10/site-packages/daiquiri/core/schema/saving.py: 100%

5 statements  

« prev     ^ index     » next       coverage.py v7.6.5, created at 2024-11-15 02:12 +0000

1#!/usr/bin/env python 

2# -*- coding: utf-8 -*- 

3from marshmallow import Schema, fields 

4 

5 

6class SavingSchema(Schema): 

7 arguments = fields.Dict( 

8 keys=fields.Str, 

9 values=fields.Str, 

10 required=True, 

11 metadata={"title": "Arguments"}, 

12 ) 

13 

14 class Meta: 

15 uiorder = ["arguments"]