Nizo Priskorn

Results 138 comments of Nizo Priskorn

I suggest we tag this 0.13+ also

https://medium.com/swlh/cool-things-you-can-do-with-pydantic-fc1c948fbde0#f078 is a good introduction, I just implemented it in asseeibot and it was some work, but it seems to be worth it :)

I ran into this error after adding pydantic in https://github.com/dpriskorn/WikibaseIntegrator/tree/pydantic-test ![bild](https://user-images.githubusercontent.com/68460690/153579318-f8865751-e926-4ac6-8acd-55859e83076d.png) I searched the interwebbs but did not find anything about this issue. Might be an issue in pydantic?

Unfortunately pydantic does not seem to support private variables and setters. See https://stackoverflow.com/questions/69152143/private-attributes-in-pydantic Should we close this and so our own validation instead?

Hi. I stumbled over [this test deployment of a Wikibase using docker-compose ](https://github.com/zentrum-lexikographie/wikimedia/blob/master/docker-compose.yml) to Hetzner cloud. Maybe it helps us?

I could try to provide a few lines reproducing the issue. Or a new test that fails.

James seems to have found a nice solution by simply comparing the json before/after😀 ![image](https://user-images.githubusercontent.com/68460690/203237658-a92543fa-c64a-4dc3-8b12-0364715842ef.jpeg)

This is how the time claims are created ![bild](https://user-images.githubusercontent.com/68460690/192087744-60bc349f-2acc-44d3-ba19-9e2c28c91d19.png) see https://github.com/dpriskorn/hiking_trail_matcher/blob/53fda373276889f310e8371eca2a7424e9370146/src/trail_item.py#L213

Could be a problem in Wikidata because it works for other items it seems ![bild](https://user-images.githubusercontent.com/68460690/192088056-b9b85013-daed-406a-a514-c509d41c0618.png)

I personally prefer to run it manually and then commit. Others seem to prefer to have it installed as a hook in git.