adapt C# JSON type
This commit is contained in:
parent
30641103ec
commit
b93b070682
@ -1,6 +1,6 @@
|
|||||||
[project]
|
[project]
|
||||||
name = "delta-barth"
|
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"
|
description = "workflows and pipelines for the Python-based Plugin of Delta Barth's ERP system"
|
||||||
authors = [
|
authors = [
|
||||||
{name = "Florian Förster", email = "f.foerster@d-opt.com"},
|
{name = "Florian Förster", email = "f.foerster@d-opt.com"},
|
||||||
@ -73,7 +73,7 @@ directory = "reports/coverage"
|
|||||||
|
|
||||||
|
|
||||||
[tool.bumpversion]
|
[tool.bumpversion]
|
||||||
current_version = "0.5.2"
|
current_version = "0.5.3"
|
||||||
parse = """(?x)
|
parse = """(?x)
|
||||||
(?P<major>0|[1-9]\\d*)\\.
|
(?P<major>0|[1-9]\\d*)\\.
|
||||||
(?P<minor>0|[1-9]\\d*)\\.
|
(?P<minor>0|[1-9]\\d*)\\.
|
||||||
|
|||||||
@ -42,7 +42,11 @@ def delta_barth_api_error() -> str:
|
|||||||
|
|
||||||
|
|
||||||
def status_err() -> 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()
|
return status.model_dump_json()
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user