Skip to content

Commit

Permalink
pydantic v2 no longer converts int to str automatically
Browse files Browse the repository at this point in the history
  • Loading branch information
Martin Voigt committed Aug 2, 2023
1 parent a30a4ac commit 3628eb9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/test_pyscicat/test_client.py
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,7 @@ def test_scicat_ingest():
data_file = DataFile(path="/foo/bar", size=42)
data_block = Datablock(
size=42,
version=1,
version="1",
datasetId=dataset_id,
dataFileList=[data_file],
**ownable.dict()
Expand Down

0 comments on commit 3628eb9

Please sign in to comment.