Content-Length: 271766 | pFad | http://github.com/tensorflow/datasets/commit/c317c90bc63b267ece9e43a4cee553f0abe5a849

E9 Merge pull request #11027 from alexcbb:master · tensorflow/datasets@c317c90 · GitHub
Skip to content

Commit c317c90

Browse files
author
The TensorFlow Datasets Authors
committed
Merge pull request #11027 from alexcbb:master
PiperOrigin-RevId: 767564960
2 parents f798fe9 + de384a4 commit c317c90

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

tensorflow_datasets/core/community/huggingface_wrapper.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@
2121
import contextlib
2222
import functools
2323
import glob
24+
from importlib import machinery
2425
import os
2526
import sys
2627
import types
@@ -248,6 +249,7 @@ class _MockedHFDatasets(types.ModuleType):
248249

249250
def __init__(self):
250251
super().__init__('datasets')
252+
self.__spec__ = machinery.ModuleSpec('datasets', None)
251253

252254
# pylint: disable=invalid-name
253255

0 commit comments

Comments
 (0)








ApplySandwichStrip

pFad - (p)hone/(F)rame/(a)nonymizer/(d)eclutterfier!      Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

Fetched URL: http://github.com/tensorflow/datasets/commit/c317c90bc63b267ece9e43a4cee553f0abe5a849

Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy