We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a1cbca8 commit 0719fdcCopy full SHA for 0719fdc
1 file changed
mapcat/database/pointing_residual.py
@@ -2,7 +2,7 @@
2
Table containing pointing residuals.
3
"""
4
5
-from typing import Annotated, Union
+from typing import Union
6
7
from sqlmodel import Field, Relationship, SQLModel
8
@@ -14,9 +14,7 @@
14
from .depth_one_map import DepthOneMapTable
15
from .json import JSONEncodedPydantic
16
17
-PointingModel = Annotated[Union[ConstantPointingModel, PolynomialPointingModel],
18
- Field(discriminator="model_type")
19
-]
+PointingModel = Union[ConstantPointingModel, PolynomialPointingModel]
20
21
class PointingResidualTable(SQLModel, table=True):
22
0 commit comments