Skip to content

Commit

Permalink
fix type hint
Browse files Browse the repository at this point in the history
  • Loading branch information
anton-emanuel committed Oct 8, 2024
1 parent ec63d84 commit 1f56161
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion torchgeo/datamodules/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -171,7 +171,7 @@ def group_shuffle_split(
return train_idxs, test_idxs


def get_prefixed_kwargs(prefix: str, **kwargs: dict[str, Any]) -> dict[str, Any]:
def get_prefixed_kwargs(prefix: str, **kwargs: Any) -> Any:
"""Get kwargs with a specific prefix.
Args:
Expand Down

0 comments on commit 1f56161

Please sign in to comment.