core: bump mypy from 2.1.0 to 2.3.0 (#24724)

* core: bump mypy from 2.1.0 to 2.3.0

Bumps [mypy](https://github.com/python/mypy) from 2.1.0 to 2.3.0.
- [Changelog](https://github.com/python/mypy/blob/master/CHANGELOG.md)
- [Commits](https://github.com/python/mypy/compare/v2.1.0...v2.3.0)

---
updated-dependencies:
- dependency-name: mypy
  dependency-version: 2.3.0
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

* fix lint

Signed-off-by: Jens Langhammer <jens@goauthentik.io>

---------

Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: Jens Langhammer <jens@goauthentik.io>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Jens Langhammer <jens@goauthentik.io>
This commit is contained in:
dependabot[bot]
2026-08-04 11:49:41 +01:00
committed by GitHub
parent 9a2811157e
commit a54ebdab97
3 changed files with 87 additions and 82 deletions

View File

@@ -98,7 +98,9 @@ def filter_schema(schema: dict[str, Any], operation_ids: set[str]) -> dict[str,
# Resolve transitive component references
resolve_component_refs(schema, all_refs)
result = {key: schema[key] for key in ("openapi", "info", "servers") if key in schema}
result: dict[str, Any] = {
key: schema[key] for key in ("openapi", "info", "servers") if key in schema
}
result["paths"] = filtered_paths
filtered_components = filter_components(schema, all_refs)