-
Notifications
You must be signed in to change notification settings - Fork 14
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add support custom provider instance
- Loading branch information
1 parent
e6279dc
commit faf655c
Showing
5 changed files
with
122 additions
and
19 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,9 @@ | ||
from fast_depends.dependencies import dependency_provider | ||
from fast_depends.dependencies import dependency_provider, Provider | ||
from fast_depends.use import Depends, inject | ||
|
||
__all__ = ( | ||
"Depends", | ||
"Provider", | ||
"dependency_provider", | ||
"inject", | ||
) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,8 @@ | ||
from fast_depends.dependencies.model import Depends | ||
from fast_depends.dependencies.provider import dependency_provider | ||
from fast_depends.dependencies.provider import dependency_provider, Provider | ||
|
||
__all__ = ( | ||
"Depends", | ||
"Provider", | ||
"dependency_provider", | ||
) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters