Skip to content

Commit 838ea0b

Browse files
authored
remove: πŸ”₯ Typer integration
1 parent 3738cb8 commit 838ea0b

File tree

5 files changed

+8
-101
lines changed

5 files changed

+8
-101
lines changed

β€Ždocumentation/integrations.mdβ€Ž

Lines changed: 0 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -30,23 +30,3 @@ app = Application(
3030
services=InjectionServices(custom_module),
3131
)
3232
```
33-
34-
## [Typer](https://github.com/tiangolo/typer)
35-
36-
Example:
37-
38-
```python
39-
from typing import Annotated
40-
41-
from injection import inject
42-
from injection.integrations.typer import ignore
43-
from typer import Typer
44-
45-
app = Typer()
46-
47-
48-
@app.command()
49-
@inject(force=True)
50-
def my_command(dependency: Annotated[Dependency, ignore()]):
51-
""" command implementation """
52-
```

β€Žinjection/integrations/typer.pyβ€Ž

Lines changed: 0 additions & 15 deletions
This file was deleted.

β€Žpoetry.lockβ€Ž

Lines changed: 7 additions & 28 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

β€Žpyproject.tomlβ€Ž

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,11 +17,10 @@ black = "*"
1717
blacksheep = "^2.0.7"
1818
flake8 = "*"
1919
isort = "*"
20-
pydantic = "^2.6.2"
20+
pydantic = "^2.6.3"
2121
pytest = "*"
2222
pytest-asyncio = "*"
2323
pytest-cov = "*"
24-
typer = "^0.9.0"
2524

2625
[build-system]
2726
requires = ["poetry-core"]

β€Žtests/integrations/test_typer.pyβ€Ž

Lines changed: 0 additions & 36 deletions
This file was deleted.

0 commit comments

Comments
Β (0)