From 5e134d2788922ddd38652db9893e36cd8409ed87 Mon Sep 17 00:00:00 2001 From: Calum Macdonald Date: Mon, 13 Nov 2023 12:00:01 +0000 Subject: [PATCH] little cleanup --- hdr_schemata/models/GWDM/v1_0/Summary.py | 18 +++++++++++------- 1 file changed, 11 insertions(+), 7 deletions(-) diff --git a/hdr_schemata/models/GWDM/v1_0/Summary.py b/hdr_schemata/models/GWDM/v1_0/Summary.py index 047de76..0bf81f8 100644 --- a/hdr_schemata/models/GWDM/v1_0/Summary.py +++ b/hdr_schemata/models/GWDM/v1_0/Summary.py @@ -1,10 +1,14 @@ -from datetime import date, datetime -from enum import Enum -from typing import List, Optional, Union - -from pydantic import AnyUrl, BaseModel, EmailStr, Field, constr - -from hdr_schemata.definitions.HDRUK import * +from typing import List, Optional +from pydantic import AnyUrl, BaseModel, EmailStr, Field +from hdr_schemata.definitions.HDRUK import ( + TwoHundredFiftyFiveCharacters, + ShortTitle, + Doi, + LongAbstractText, + CommaSeparatedValues, + DatasetType, + LongDescription +) from .Publisher import Publisher