Skip to content

Commit

Permalink
warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
marshHawk4 committed Sep 12, 2024
1 parent 0650372 commit fb744ca
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion cdr_schemas/prospectivity_input.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
from typing import List, Optional, Union

from geojson_pydantic import MultiPolygon
from pydantic import BaseModel, Field
from pydantic import BaseModel, ConfigDict, Field

from cdr_schemas.prospectivity_models import (
NeuralNetUserOptions,
Expand Down Expand Up @@ -82,6 +82,8 @@ class ProspectivityOutputLayer(BaseModel):
cma_id: str = Field(description="id of the cma")
title: str = Field(description="Title for prospectivity layer")

model_config = ConfigDict(protected_namespaces=())


# MTRI to CDR:
# send to cdr to create new cma. Will be associated with template raster uploaded
Expand Down Expand Up @@ -123,6 +125,7 @@ class SaveProcessedDataLayer(BaseModel):
transform_methods: TranformMethods = Field(
default="", description="Transformation method used"
)
model_config = ConfigDict(protected_namespaces=())


# MTRI UI to CDR:
Expand All @@ -139,6 +142,7 @@ class CreateProspectModelMetaData(BaseModel):
evidence_layers: List[DefineProcessDataLayer] = Field(
description="Datasource and preprocess steps"
)
model_config = ConfigDict(protected_namespaces=())


class DataSource(BaseModel):
Expand Down

0 comments on commit fb744ca

Please sign in to comment.