Zum Inhalt
HALOWERK

Technische Prüfungen & Formate

F TD2000 DATASTRUCTURES 09 / python312 with acquisition exit suppression exception context

Recover nested context-manager acquisition, exit suppression and exception replacement/context after a supplied Python with body outcome.

POST https://detect.halowerk.com/v1/F-TD2000-DATASTRUCTURES-09/python312-with-acquisition-exit-suppression-exception-context

Eingaben

Felder des veröffentlichten Eingabeschemas
FeldTypPflichtBeschreibung
artifactobjectJa
Vollständiges Eingabeschema anzeigen
{
  "type": "object",
  "additionalProperties": false,
  "required": [
    "artifact"
  ],
  "properties": {
    "artifact": {
      "type": "object",
      "additionalProperties": false,
      "required": [
        "pythonWith"
      ],
      "properties": {
        "pythonWith": {
          "type": "object",
          "additionalProperties": false,
          "required": [
            "data",
            "claim"
          ],
          "properties": {
            "data": {
              "type": "object",
              "additionalProperties": false,
              "required": [
                "body",
                "managers"
              ],
              "properties": {
                "body": {
                  "anyOf": [
                    {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "exception",
                        "kind"
                      ],
                      "properties": {
                        "exception": {
                          "type": "number"
                        },
                        "kind": {
                          "type": "string",
                          "maxLength": 20000
                        }
                      }
                    },
                    {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "kind"
                      ],
                      "properties": {
                        "kind": {
                          "type": "string",
                          "maxLength": 20000
                        }
                      }
                    },
                    {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "kind",
                        "value"
                      ],
                      "properties": {
                        "kind": {
                          "type": "string",
                          "maxLength": 20000
                        },
                        "value": {
                          "type": "number"
                        }
                      }
                    }
                  ]
                },
                "managers": {
                  "type": "array",
                  "items": {
                    "$ref": "#/properties/artifact/%24defs/json"
                  },
                  "maxItems": 512
                }
              }
            },
            "claim": {
              "anyOf": [
                {
                  "type": "null"
                },
                {
                  "type": "object",
                  "additionalProperties": false,
                  "required": [
                    "exception",
                    "exceptions",
                    "outcome",
                    "trace",
                    "value"
                  ],
                  "properties": {
                    "exception": {
                      "anyOf": [
                        {
                          "$ref": "#/properties/artifact/%24defs/json"
                        },
                        {
                          "type": "number"
                        }
                      ]
                    },
                    "exceptions": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "additionalProperties": false,
                        "required": [
                          "context",
                          "id",
                          "index"
                        ],
                        "properties": {
                          "context": {
                            "anyOf": [
                              {
                                "$ref": "#/properties/artifact/%24defs/json"
                              },
                              {
                                "type": "number"
                              }
                            ]
                          },
                          "id": {
                            "type": "number"
                          },
                          "index": {
                            "type": "number"
                          }
                        }
                      },
                      "maxItems": 512
                    },
                    "outcome": {
                      "type": "string",
                      "maxLength": 20000
                    },
                    "trace": {
                      "type": "array",
                      "items": {
                        "anyOf": [
                          {
                            "type": "object",
                            "additionalProperties": false,
                            "required": [
                              "action",
                              "kind"
                            ],
                            "properties": {
                              "action": {
                                "type": "string",
                                "maxLength": 20000
                              },
                              "kind": {
                                "type": "string",
                                "maxLength": 20000
                              }
                            }
                          },
                          {
                            "type": "object",
                            "additionalProperties": false,
                            "required": [
                              "action",
                              "kind",
                              "manager"
                            ],
                            "properties": {
                              "action": {
                                "type": "string",
                                "maxLength": 20000
                              },
                              "kind": {
                                "type": "string",
                                "maxLength": 20000
                              },
                              "manager": {
                                "type": "number"
                              }
                            }
                          },
                          {
                            "type": "object",
                            "additionalProperties": false,
                            "required": [
                              "exception",
                              "kind",
                              "manager"
                            ],
                            "properties": {
                              "exception": {
                                "anyOf": [
                                  {
                                    "$ref": "#/properties/artifact/%24defs/json"
                                  },
                                  {
                                    "type": "number"
                                  }
                                ]
                              },
                              "kind": {
                                "type": "string",
                                "maxLength": 20000
                              },
                              "manager": {
                                "type": "number"
                              }
                            }
                          },
                          {
                            "type": "object",
                            "additionalProperties": false,
                            "required": [
                              "kind",
                              "manager"
                            ],
                            "properties": {
                              "kind": {
                                "type": "string",
                                "maxLength": 20000
                              },
                              "manager": {
                                "type": "number"
                              }
                            }
                          },
                          {
                            "type": "object",
                            "additionalProperties": false,
                            "required": [
                              "kind",
                              "manager",
                              "value"
                            ],
                            "properties": {
                              "kind": {
                                "type": "string",
                                "maxLength": 20000
                              },
                              "manager": {
                                "type": "number"
                              },
                              "value": {
                                "type": "number"
                              }
                            }
                          }
                        ]
                      },
                      "maxItems": 512
                    },
                    "value": {
                      "anyOf": [
                        {
                          "$ref": "#/properties/artifact/%24defs/json"
                        },
                        {
                          "type": "number"
                        }
                      ]
                    }
                  }
                }
              ]
            }
          }
        }
      },
      "$defs": {
        "json": {
          "anyOf": [
            {
              "type": "null"
            },
            {
              "type": "boolean"
            },
            {
              "type": "number"
            },
            {
              "type": "string",
              "maxLength": 6000
            },
            {
              "type": "array",
              "items": {
                "$ref": "#/properties/artifact/%24defs/json"
              },
              "maxItems": 512
            },
            {
              "type": "object",
              "maxProperties": 128,
              "additionalProperties": {
                "$ref": "#/properties/artifact/%24defs/json"
              }
            }
          ]
        }
      }
    }
  }
}

Originalschema öffnen

Ergebnis & Dokumentation

Maschinenlesbare Dokumentation dieses Hubs

Quelle dieser Seite: der veröffentlichte HALOWERK-Katalog. Stand: 2026-11-01, 15:19 UTC.

Weitere Endpunkte dieses Hubs

Alle Endpunkte dieses Hubs →