Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
20 changes: 0 additions & 20 deletions documentation/integrations.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,23 +30,3 @@ app = Application(
services=InjectionServices(custom_module),
)
```

## [Typer](https://github.com/tiangolo/typer)

Example:

```python
from typing import Annotated

from injection import inject
from injection.integrations.typer import ignore
from typer import Typer

app = Typer()


@app.command()
@inject(force=True)
def my_command(dependency: Annotated[Dependency, ignore()]):
""" command implementation """
```
15 changes: 0 additions & 15 deletions injection/integrations/typer.py

This file was deleted.

35 changes: 7 additions & 28 deletions poetry.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 1 addition & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -17,11 +17,10 @@ black = "*"
blacksheep = "^2.0.7"
flake8 = "*"
isort = "*"
pydantic = "^2.6.2"
pydantic = "^2.6.3"
pytest = "*"
pytest-asyncio = "*"
pytest-cov = "*"
typer = "^0.9.0"

[build-system]
requires = ["poetry-core"]
Expand Down
36 changes: 0 additions & 36 deletions tests/integrations/test_typer.py

This file was deleted.