Skip to content

Commit

Permalink
Re-sync jinja
Browse files Browse the repository at this point in the history
  • Loading branch information
visr committed Sep 2, 2024
1 parent f34646f commit ab6ef0e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion utils/templates/schemas.py.jinja
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ class _BaseSchema(pa.DataFrameModel):

@classmethod
def migrate(cls, df: Any, schema_version: int) -> Any:
f: Callable[[Any], Any] = getattr(
f: Callable[[Any, Any], Any] = getattr(
migrations, str(cls.__name__).lower() + "_migration", lambda x, _: x
)
return f(df, schema_version)
Expand Down

0 comments on commit ab6ef0e

Please sign in to comment.