(self, fullname, path, target=None)
| 34 | return False |
| 35 | |
| 36 | def find_spec(self, fullname, path, target=None): |
| 37 | if fullname in self._MODULES: |
| 38 | # If being called from kaggle_gcp, don't return our |
| 39 | # monkeypatched module to avoid circular dependency, |
| 40 | # since we call kaggle_gcp to load the module. |
| 41 | if self._is_called_from_kaggle_gcp(): |
| 42 | return None |
| 43 | return importlib.machinery.ModuleSpec(fullname, GcpModuleLoader()) |
| 44 | |
| 45 | |
| 46 | class GcpModuleLoader(importlib.abc.Loader): |
nothing calls this directly
no test coverage detected