Skip to content

Commit

Permalink
update typing
Browse files Browse the repository at this point in the history
  • Loading branch information
Adam-D-Lewis committed Dec 30, 2024
1 parent 3f525e5 commit 09c6bab
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/_nebari/config_set.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
import pathlib
from typing import Optional

from packaging.requirements import Requirement
from pydantic import BaseModel, ConfigDict, field_validator
Expand All @@ -10,7 +11,7 @@
class ConfigSetMetadata(BaseModel):
model_config: ConfigDict = ConfigDict(extra="allow", arbitrary_types_allowed=True)
name: str # for use with guided init
description: str = None
description: Optional[str] = None
nebari_version: str | Requirement

@field_validator("nebari_version")
Expand Down

0 comments on commit 09c6bab

Please sign in to comment.