-
-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy path__init__.py
More file actions
51 lines (49 loc) · 1.29 KB
/
__init__.py
File metadata and controls
51 lines (49 loc) · 1.29 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
from ._core.asfunction import asfunction
from ._core.descriptors import LazyInstance
from ._core.injectables import Injectable
from ._core.module import Mode, Module, Priority, mod
from ._core.scope import ScopeFacade as Scope
from ._core.scope import ScopeKind, adefine_scope, define_scope
from ._core.slots import SlotKey
__all__ = (
"Injectable",
"LazyInstance",
"Mode",
"Module",
"Priority",
"Scope",
"ScopeKind",
"SlotKey",
"adefine_scope",
"afind_instance",
"aget_instance",
"aget_lazy_instance",
"asfunction",
"constant",
"define_scope",
"find_instance",
"get_instance",
"get_lazy_instance",
"inject",
"injectable",
"mod",
"reserve_scoped_slot",
"scoped",
"set_constant",
"should_be_injectable",
"singleton",
)
afind_instance = mod().afind_instance
aget_instance = mod().aget_instance
aget_lazy_instance = mod().aget_lazy_instance
constant = mod().constant
find_instance = mod().find_instance
get_instance = mod().get_instance
get_lazy_instance = mod().get_lazy_instance
inject = mod().inject
injectable = mod().injectable
reserve_scoped_slot = mod().reserve_scoped_slot
scoped = mod().scoped
set_constant = mod().set_constant
should_be_injectable = mod().should_be_injectable
singleton = mod().singleton