MCPcopy
hub / github.com/sqlalchemy/sqlalchemy / importlib_metadata_get

Function importlib_metadata_get

lib/sqlalchemy/util/compat.py:142–147  ·  view source on GitHub ↗
(group)

Source from the content-addressed store, hash-verified

140
141
142def importlib_metadata_get(group):
143 ep = importlib_metadata.entry_points()
144 if typing.TYPE_CHECKING or hasattr(ep, "select"):
145 return ep.select(group=group)
146 else:
147 return ep.get(group, ())
148
149
150def b(s):

Callers

nothing calls this directly

Calls 2

selectMethod · 0.45
getMethod · 0.45

Tested by

no test coverage detected