Skip to content

Commit

Permalink
[FIX] econdig in save model
Browse files Browse the repository at this point in the history
  • Loading branch information
archetipo committed Feb 4, 2025
1 parent 357ae69 commit fff55cb
Show file tree
Hide file tree
Showing 4 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion ozonenv/core/OzonOrm.py
Original file line number Diff line number Diff line change
Expand Up @@ -454,7 +454,7 @@ def _getattribute(obj, name):
async def make_local_model(self, mod, version):
jdata = mod.mm.model.model_json_schema()
async with aiofiles.open(f"/tmp/{mod.name}.json", "w+") as mod_file:
await mod_file.write(json.dumps(jdata))
await mod_file.write(json.dumps(jdata, ensure_ascii=False))
res = await self.runcmd(
f"datamodel-codegen --input /tmp/{mod.name}.json"
f" --input-file-type jsonschema "
Expand Down
2 changes: 1 addition & 1 deletion tests/data/test_form_1_formio_schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -353,7 +353,7 @@
"id": "eszvmi3"
},
{
"label": "Appointment Date / Time",
"label": "Appointment Date / Time àè",
"tableView": false,
"enableMinDateInput": false,
"datePicker": {
Expand Down
Binary file modified tests/i18n_translated/en/LC_MESSAGES/messages.mo
Binary file not shown.
Binary file modified tests/i18n_translated/it/LC_MESSAGES/messages.mo
Binary file not shown.

0 comments on commit fff55cb

Please sign in to comment.