Skip to content

Commit

Permalink
Remove pydantic deprecation warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
pmav99 committed Oct 30, 2023
1 parent 5969998 commit 7e0c5d8
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion searvey/critech.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@


EMODNET_CRITECH = ERDDAPDataset(
server_url=pydantic.parse_obj_as(pydantic.HttpUrl, "https://erddap.emodnet-physics.eu/erddap"),
server_url=pydantic.HttpUrl("https://erddap.emodnet-physics.eu/erddap"),
dataset_id="TAD_Tsunami_Alert_Device",
is_longitude_symmetric=True,
)
Expand Down
2 changes: 1 addition & 1 deletion searvey/uhslc.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
}

SOEST_UHSLC = ERDDAPDataset(
server_url=pydantic.parse_obj_as(pydantic.HttpUrl, "https://uhslc.soest.hawaii.edu/erddap"),
server_url=pydantic.HttpUrl("https://uhslc.soest.hawaii.edu/erddap"),
dataset_id="global_hourly_fast",
is_longitude_symmetric=False,
)
Expand Down

0 comments on commit 7e0c5d8

Please sign in to comment.