def _update_env()

in mozilla_schema_generator/bhr_ping.py [0:0]


    def _update_env(self, schema):
        # hangs is an array of objects
        stack = prepend_properties(("payload", "hangs")) + (
            "items",
            "properties",
            "stack",
        )
        schema.set_schema_elem(
            stack,
            {
                "type": "string",
                "description": (
                    "JSON representation of the stack field."
                    " Injected by mozilla-schema-generator."
                ),
            },
            # this may otherwise overwrite the "items" fields
            propagate=False,
        )

        return super()._update_env(schema)