Skip to content

Commit

Permalink
Merge pull request #1 from thinkific-kristin/AENG-921_updating-packag…
Browse files Browse the repository at this point in the history
…es-for-pydantic-upgrade

AENG-921 pydantic upgrade
  • Loading branch information
thinkific-kristin authored Oct 4, 2024
2 parents 07c5db7 + 7597fb6 commit e33aa1a
Show file tree
Hide file tree
Showing 3 changed files with 1,293 additions and 985 deletions.
4 changes: 2 additions & 2 deletions data_diff/dbt_config_validators.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

class ManifestJsonConfig(BaseModel):
class Metadata(BaseModel):
dbt_version: str = Field(..., regex=r"^\d+\.\d+\.\d+([a-zA-Z0-9]+)?$")
dbt_version: str = Field(..., pattern=r"^\d+\.\d+\.\d+([a-zA-Z0-9]+)?$")
project_id: Optional[str]
user_id: Optional[str]

Expand Down Expand Up @@ -46,7 +46,7 @@ class DependsOn(BaseModel):

class RunResultsJsonConfig(BaseModel):
class Metadata(BaseModel):
dbt_version: str = Field(..., regex=r"^\d+\.\d+\.\d+([a-zA-Z0-9]+)?$")
dbt_version: str = Field(..., pattern=r"^\d+\.\d+\.\d+([a-zA-Z0-9]+)?$")

class Results(BaseModel):
class Status(Enum):
Expand Down
Loading

0 comments on commit e33aa1a

Please sign in to comment.