Skip to content

Commit 6419629

Browse files
authored
Grammar fix: correct "showed" to "shown" in fingerprint.py (#7730)
Grammar fix in fingerprint.py
1 parent 1a5d1d1 commit 6419629

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/datasets/fingerprint.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -237,7 +237,7 @@ def update_fingerprint(fingerprint, transform, transform_args):
237237
f"Transform {transform} couldn't be hashed properly, a random hash was used instead. "
238238
"Make sure your transforms and parameters are serializable with pickle or dill for the dataset fingerprinting and caching to work. "
239239
"If you reuse this transform, the caching mechanism will consider it to be different from the previous calls and recompute everything. "
240-
"This warning is only showed once. Subsequent hashing failures won't be showed."
240+
"This warning is only shown once. Subsequent hashing failures won't be shown."
241241
)
242242
fingerprint_warnings["update_fingerprint_transform_hash_failed"] = True
243243
else:
@@ -259,7 +259,7 @@ def update_fingerprint(fingerprint, transform, transform_args):
259259
f"Parameter '{key}'={transform_args[key]} of the transform {transform} couldn't be hashed properly, a random hash was used instead. "
260260
"Make sure your transforms and parameters are serializable with pickle or dill for the dataset fingerprinting and caching to work. "
261261
"If you reuse this transform, the caching mechanism will consider it to be different from the previous calls and recompute everything. "
262-
"This warning is only showed once. Subsequent hashing failures won't be showed."
262+
"This warning is only shown once. Subsequent hashing failures won't be shown."
263263
)
264264
fingerprint_warnings["update_fingerprint_transform_hash_failed"] = True
265265
else:

0 commit comments

Comments
 (0)