mirror of
https://github.com/goauthentik/authentik.git
synced 2026-08-30 18:51:39 -07:00
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:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user