MCPcopy Create free account
hub / github.com/Kaggle/docker-python / is_supported

Method is_supported

patches/kaggle_module_resolver.py:17–18  ·  view source on GitHub ↗
(self, handle)

Source from the content-addressed store, hash-verified

15
16class KaggleFileResolver(resolver.HttpResolverBase):
17 def is_supported(self, handle):
18 return _is_on_kaggle_notebook() and _is_kaggle_handle(handle)
19
20 def __call__(self, handle):
21 m = long_url_pattern.match(handle) or short_url_pattern.match(handle)

Callers

nothing calls this directly

Calls 2

_is_on_kaggle_notebookFunction · 0.85
_is_kaggle_handleFunction · 0.85

Tested by

no test coverage detected