Skip to content

Commit

Permalink
fix typo in pydantic keyword args
Browse files Browse the repository at this point in the history
  • Loading branch information
AdeelH committed Jan 3, 2025
1 parent 73cd57f commit 9c896e9
Showing 1 changed file with 4 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -14,15 +14,16 @@ class ShiftTransformerConfig(VectorTransformerConfig):

x_shift: float = Field(
0.0,
descriptions='Distance in meters to shift along the x-axis. '
description='Distance in meters to shift along the x-axis. '
'Postive values shift eastward.')
y_shift: float = Field(
0.0,
descriptions='Distance in meters to shift along the y-axis. '
description='Distance in meters to shift along the y-axis. '
'Postive values shift northward.')
round_pixels: bool = Field(
True,
descriptions='Whether to round shifted pixel values to integers.')
description='Whether to round shifted pixel values to integers.',
)

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

0 comments on commit 9c896e9

Please sign in to comment.