-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
configured to be partially installed
- Loading branch information
1 parent
6accbd0
commit 28e725e
Showing
10 changed files
with
272 additions
and
217 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
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
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
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,4 +1,5 @@ | ||
from requests import get | ||
|
||
from ..models import HealthCheckStatusEnum | ||
from .abstract import HealthCheckAbstract | ||
|
||
|
Large diffs are not rendered by default.
Oops, something went wrong.
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,6 +1,6 @@ | ||
[tool.poetry] | ||
name = "fastapi-healthz" | ||
version = "0.4.1" | ||
version = "0.5.0" | ||
description = "A module to have a FastAPI HealthCheck for database, RabbitMQ server, Redis, MongoDB or external URI to validate their healths." | ||
authors = ["Matteo Cacciola <[email protected]>"] | ||
license = "MIT" | ||
|
@@ -13,16 +13,24 @@ classifiers = [ | |
|
||
[tool.poetry.dependencies] | ||
python = "^3.9" | ||
pika = "^1.3.2" | ||
pika = { version = "^1.3.2", optional = true } | ||
fastapi = "^0.111.0" | ||
pydantic = "^2.7.4" | ||
requests = "^2.31.0" | ||
aioredis = "^2.0.1" | ||
sqlalchemy = "^2.0.22" | ||
pymongo = "^4.7.3" | ||
pydantic = "^2.8.2" | ||
requests = { version = "^2.31.0", optional = true } | ||
aioredis = { version = "^2.0.1", optional = true } | ||
sqlalchemy = { version = "^2.0.22", optional = true } | ||
pymongo = { version = "^4.7.3", optional = true } | ||
|
||
[tool.poetry.dev-dependencies] | ||
|
||
[tool.poetry.extras] | ||
rabbitmq = ["pika"] | ||
redis = ["aioredis"] | ||
database = ["sqlalchemy", "asyncpg"] | ||
mongodb = ["pymongo"] | ||
uri = ["requests"] | ||
all = ["pika", "aioredis", "sqlalchemy", "asyncpg", "pymongo", "requests"] | ||
|
||
[build-system] | ||
requires = ["poetry-core>=1.0.0"] | ||
build-backend = "poetry.core.masonry.api" |