MCPcopy Index your code
hub / github.com/drathier/stack-overflow-import / find_spec

Method find_spec

stackoverflow/__init__.py:20–25  ·  view source on GitHub ↗
(cls, fullname, path=None, target=None)

Source from the content-addressed store, hash-verified

18
19 @classmethod
20 def find_spec(cls, fullname, path=None, target=None):
21 spec = spec_from_loader(fullname, cls, origin='hell')
22 spec.__license__ = "CC BY-SA 3.0"
23 spec._url = cls._fetch_url(spec.name)
24 spec._code, spec.__author__ = cls._fetch_code(spec._url)
25 return spec
26
27 @classmethod
28 def create_module(cls, spec):

Callers

nothing calls this directly

Calls 2

_fetch_urlMethod · 0.80
_fetch_codeMethod · 0.80

Tested by

no test coverage detected