Skip to content

Commit 9c896e9

Browse files
committed
fix typo in pydantic keyword args
1 parent 73cd57f commit 9c896e9

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

rastervision_core/rastervision/core/data/vector_transformer/shift_transformer_config.py

+4-3
Original file line numberDiff line numberDiff line change
@@ -14,15 +14,16 @@ class ShiftTransformerConfig(VectorTransformerConfig):
1414

1515
x_shift: float = Field(
1616
0.0,
17-
descriptions='Distance in meters to shift along the x-axis. '
17+
description='Distance in meters to shift along the x-axis. '
1818
'Postive values shift eastward.')
1919
y_shift: float = Field(
2020
0.0,
21-
descriptions='Distance in meters to shift along the y-axis. '
21+
description='Distance in meters to shift along the y-axis. '
2222
'Postive values shift northward.')
2323
round_pixels: bool = Field(
2424
True,
25-
descriptions='Whether to round shifted pixel values to integers.')
25+
description='Whether to round shifted pixel values to integers.',
26+
)
2627

2728
def build(self,
2829
class_config: 'ClassConfig | None' = None) -> ShiftTransformer:

0 commit comments

Comments
 (0)