Source code for nv_ingest.schemas.job_counter_schema
# SPDX-FileCopyrightText: Copyright (c) 2024, NVIDIA CORPORATION & AFFILIATES.
# All rights reserved.
# SPDX-License-Identifier: Apache-2.0
from pydantic import ConfigDict, BaseModel
[docs]
class JobCounterSchema(BaseModel):
name: str = "job_counter"
raise_on_failure: bool = False
model_config = ConfigDict(extra="forbid")