From b93b0706824636548f0e5abe9c07aca465bbc660 Mon Sep 17 00:00:00 2001 From: foefl Date: Thu, 3 Apr 2025 11:22:00 +0200 Subject: [PATCH] adapt C# JSON type --- pyproject.toml | 4 ++-- src/delta_barth/_csharp/json_types.py | 6 +++++- 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index bf0e785..7ce9cbd 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [project] name = "delta-barth" -version = "0.5.2" +version = "0.5.3" description = "workflows and pipelines for the Python-based Plugin of Delta Barth's ERP system" authors = [ {name = "Florian Förster", email = "f.foerster@d-opt.com"}, @@ -73,7 +73,7 @@ directory = "reports/coverage" [tool.bumpversion] -current_version = "0.5.2" +current_version = "0.5.3" parse = """(?x) (?P0|[1-9]\\d*)\\. (?P0|[1-9]\\d*)\\. diff --git a/src/delta_barth/_csharp/json_types.py b/src/delta_barth/_csharp/json_types.py index 96b9acf..2b8516d 100644 --- a/src/delta_barth/_csharp/json_types.py +++ b/src/delta_barth/_csharp/json_types.py @@ -42,7 +42,11 @@ def delta_barth_api_error() -> str: def status_err() -> str: - status = Status(code=102, description="internal error occurred", message="caused by test") + status = Status( + code=102, + description="internal error occurred: 'Limit-Überschreitung'", + message="caused by test", + ) return status.model_dump_json()