|
5 | 5 |
|
6 | 6 | from .._utils import PropertyInfo |
7 | 7 | from .._models import BaseModel |
| 8 | +from .citation import Citation |
8 | 9 | from .task_run import TaskRun |
| 10 | +from .field_basis import FieldBasis |
9 | 11 | from .task_run_json_output import TaskRunJsonOutput |
10 | 12 | from .task_run_text_output import TaskRunTextOutput |
11 | 13 |
|
12 | | -__all__ = ["TaskRunResult", "Output"] |
| 14 | +__all__ = [ |
| 15 | + "TaskRunResult", |
| 16 | + "Output", |
| 17 | + "OutputTaskRunJsonOutput", |
| 18 | + "OutputTaskRunJsonOutputBasis", |
| 19 | + "OutputTaskRunJsonOutputBasisCitation", |
| 20 | + "OutputTaskRunTextOutput", |
| 21 | + "OutputTaskRunTextOutputBasis", |
| 22 | + "OutputTaskRunTextOutputBasisCitation", |
| 23 | +] |
| 24 | + |
| 25 | +OutputTaskRunJsonOutput = TaskRunJsonOutput # for backwards compatibility with v0.1.3 |
| 26 | +"""This is deprecated, `TaskRunJsonOutput` should be used instead""" |
| 27 | + |
| 28 | +OutputTaskRunJsonOutputBasis = FieldBasis # for backwards compatibility with v0.1.3 |
| 29 | +"""This is deprecated, `FieldBasis` should be used instead""" |
| 30 | + |
| 31 | +OutputTaskRunJsonOutputBasisCitation = Citation # for backwards compatibility with v0.1.3 |
| 32 | +"""This is deprecated, `Citation` should be used instead""" |
| 33 | + |
| 34 | +OutputTaskRunTextOutput = TaskRunTextOutput # for backwards compatibility with v0.1.3 |
| 35 | +"""This is deprecated, `TaskRunTextOutput` should be used instead""" |
| 36 | + |
| 37 | +OutputTaskRunTextOutputBasis = FieldBasis # for backwards compatibility with v0.1.3 |
| 38 | +"""This is deprecated, `FieldBasis` should be used instead""" |
| 39 | + |
| 40 | +OutputTaskRunTextOutputBasisCitation = Citation # for backwards compatibility with v0.1.3 |
| 41 | +"""This is deprecated, `Citation` should be used instead""" |
13 | 42 |
|
14 | 43 | Output: TypeAlias = Annotated[Union[TaskRunTextOutput, TaskRunJsonOutput], PropertyInfo(discriminator="type")] |
15 | 44 |
|
|
0 commit comments