Skip to content

Commit

Permalink
More mypy
Browse files Browse the repository at this point in the history
  • Loading branch information
schustmi committed Nov 7, 2024
1 parent 92522d3 commit 1df5ecc
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
"""

from collections import defaultdict
from typing import Dict, Set
from typing import Any, Dict, Set

import sqlalchemy as sa
from alembic import op
Expand Down Expand Up @@ -99,7 +99,7 @@ def resolve_duplicate_entities() -> None:
needs_new_name,
needs_new_number,
) in needs_update:
values = {}
values: Dict[str, Any] = {}

is_numeric_version = str(number) == name
next_numeric_version = max(existing_numbers[model_id]) + 1
Expand Down

0 comments on commit 1df5ecc

Please sign in to comment.