Open ZohebShaikh opened 3 months ago
The docs is giving this warning
/home/runner/work/scanspec/scanspec/src/scanspec/specs.py:docstring of scanspec.specs.Repeat:1: WARNING: py:class reference target not found: annotated_types.Ge [ref.class] /home/runner/work/scanspec/scanspec/src/scanspec/specs.py:docstring of scanspec.specs.Line:1: WARNING: py:class reference target not found: annotated_types.Ge [ref.class] /home/runner/work/scanspec/scanspec/src/scanspec/specs.py:docstring of scanspec.specs.Static:1: WARNING: py:class reference target not found: annotated_types.Ge [ref.class] /home/runner/work/scanspec/scanspec/src/scanspec/regions.py:docstring of scanspec.regions.Polygon:1: WARNING: py:class reference target not found: annotated_types.MinLen [ref.class] /home/runner/work/scanspec/scanspec/src/scanspec/regions.py:docstring of scanspec.regions.Polygon:1: WARNING: py:class reference target not found: annotated_types.MinLen [ref.class] /home/runner/work/scanspec/scanspec/src/scanspec/regions.py:docstring of scanspec.regions.Circle:1: WARNING: py:class reference target not found: annotated_types.Gt [ref.class]
Which is coming from these lines...
https://github.com/bluesky/scanspec/blob/d5cce50b6048bc82b3540d3f64fcb7219e780418/src/scanspec/regions.py#L264C1-L271C6
x_verts: list[float] = Field( description="The Nx1 x coordinates of the polygons vertices", min_length=3 ) y_verts: list[float] = Field( description="The Nx1 y coordinates of the polygons vertices", min_length=3 )
There is a draft branch created at https://github.com/bluesky/scanspec/pull/137
The docs is giving this warning
Which is coming from these lines...
https://github.com/bluesky/scanspec/blob/d5cce50b6048bc82b3540d3f64fcb7219e780418/src/scanspec/regions.py#L264C1-L271C6