diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 0e6811c..4b413a5 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -10,7 +10,7 @@ repos: hooks: - id: black - repo: https://github.com/astral-sh/ruff-pre-commit - rev: v0.6.5 + rev: v0.6.8 hooks: - id: ruff - repo: https://github.com/pre-commit/mirrors-mypy diff --git a/codegen/ai_horde/swagger.json b/codegen/ai_horde/swagger.json index bc639ec..b705e87 100644 --- a/codegen/ai_horde/swagger.json +++ b/codegen/ai_horde/swagger.json @@ -4214,7 +4214,8 @@ "source_image", "source_mask", "extra_source_images", - "batch_index" + "batch_index", + "information" ] }, "value": { diff --git a/codegen/ai_horde/swagger_openapi3.json b/codegen/ai_horde/swagger_openapi3.json index 341f3b5..4bbba7b 100644 --- a/codegen/ai_horde/swagger_openapi3.json +++ b/codegen/ai_horde/swagger_openapi3.json @@ -5208,7 +5208,8 @@ "source_image", "source_mask", "extra_source_images", - "batch_index" + "batch_index", + "information" ], "example": "lora", "type": "string" diff --git a/horde_sdk/ai_horde_api/consts.py b/horde_sdk/ai_horde_api/consts.py index bc3c712..dc2c886 100644 --- a/horde_sdk/ai_horde_api/consts.py +++ b/horde_sdk/ai_horde_api/consts.py @@ -251,6 +251,8 @@ class METADATA_TYPE(StrEnum): """Extra source images for the request.""" batch_index = auto() """The index of the batch in a batch request.""" + information = auto() + """Extra information about the image.""" class METADATA_VALUE(StrEnum): diff --git a/requirements.dev.txt b/requirements.dev.txt index c72793b..fab418b 100644 --- a/requirements.dev.txt +++ b/requirements.dev.txt @@ -1,8 +1,8 @@ pytest==8.3.3 mypy==1.11.2 black==24.8.0 -ruff==0.6.5 -tox~=4.18.1 +ruff==0.6.8 +tox~=4.20.0 pre-commit~=3.8.0 build>=0.10.0 coverage>=7.2.7