MCPcopy Create free account
hub / github.com/tox-dev/filelock / build

Function build

tasks/capabilities.py:109–114  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

107 return type.__call__(cls)
108
109 def build() -> type:
110 class Probe(metaclass=ProbeMeta):
111 pass
112
113 Probe()
114 return Probe
115
116 reference: Final[weakref.ReferenceType[type]] = weakref.ref(build())
117 gc.collect()

Callers 2

_uncontendedFunction · 0.70
_collects_classesFunction · 0.70

Calls 1

ProbeClass · 0.85

Tested by

no test coverage detected