OpenSemanticLab / osw-python

GNU Affero General Public License v3.0
3 stars 2 forks source link

Incompatible with datamodel-codegen > 0.15.0 #31

Closed simontaurus closed 3 months ago

simontaurus commented 1 year ago

Entity schema leads to TypeError: '<' not supported between instances of 'NoneType' and 'str'

(symptomatic workaround): item = {k:v for k,v in item.items() if v is not None}

needs testing if the schema is somehow incompatible

blocks #28

simontaurus commented 1 year ago

partly resolved by fixing statement schema. Futher blocking: https://github.com/koxudaxi/datamodel-code-generator/issues/1427