From 8098b60ab3eeffcd017ea36a07f9b602877833db Mon Sep 17 00:00:00 2001 From: "Alex J. Mueller" Date: Mon, 8 Jul 2024 13:06:03 -0400 Subject: [PATCH] Removes option to have a pathlib.Path object in CMATemplate --- cdr_schemas/prospectivity_input.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/cdr_schemas/prospectivity_input.py b/cdr_schemas/prospectivity_input.py index 89694c6..379a07d 100644 --- a/cdr_schemas/prospectivity_input.py +++ b/cdr_schemas/prospectivity_input.py @@ -1,5 +1,4 @@ from enum import Enum -from pathlib import Path from typing import List, Optional, Union from geojson_pydantic import Polygon @@ -68,7 +67,7 @@ class CriticalMineralAssessment(BaseModel): class CMATemplate(BaseModel): cma: CriticalMineralAssessment - file: Union[str, Path] + file: str class StackMetaData(BaseModel):