main
1# File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
2
3from typing import Optional
4from typing_extensions import Literal
5
6from ..._models import BaseModel
7
8__all__ = ["PythonGrader"]
9
10
11class PythonGrader(BaseModel):
12 name: str
13 """The name of the grader."""
14
15 source: str
16 """The source code of the python script."""
17
18 type: Literal["python"]
19 """The object type, which is always `python`."""
20
21 image_tag: Optional[str] = None
22 """The image tag to use for the python script."""