Commit 977d18d0 authored by Wout De Nolf's avatar Wout De Nolf
Browse files

Remove unwanted file

parent 51bcc526
Pipeline #49982 passed with stage
in 1 minute and 33 seconds
from pkg_resources import iter_entry_points
from prybar import dynamic_entrypoint
from contextlib import ExitStack
epoints = [
dynamic_entrypoint("example.types", name=name, module="nonexisting")
for name in ["int", "float", "str", "bool"]
]
with ExitStack() as stack:
for ep in epoints:
stack.enter_context(ep)
for ep in iter_entry_points("example.types"):
t = ep.load()
print(t("12"))
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment