Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion devel-common/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ dependencies = [
"mypy" = [
# Mypy dependencies
# TODO: upgrade to newer versions of MyPy continuously as they are released
"mypy==1.17.1",
"mypy==1.18.1",
"types-Deprecated>=1.2.9.20240311",
"types-Markdown>=3.6.0.20240316",
"types-PyMySQL>=1.1.0.20240425",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
class File:
"""File entity. Refers to a file."""

template_fields: ClassVar = ("url",)
template_fields: ClassVar[tuple[str, ...]] = ("url",)

url: str = attr.ib()
type_hint: str | None = None
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -41,8 +41,8 @@
}
MANIFEST_FAIL = {"status": {"code": 1, "message": "Bad things happened", "details": []}, "filenames": []}
RESULT_FILE_CONTENT: dict[str, Any] = {"rows": [], "metadata": {}}
ROW_1 = []
ROW_2 = []
ROW_1: list[Any] = []
ROW_2: list[Any] = []
TEST_SERVICE_ID = "test-service"
TEST_REGION = "test-region"
TEST_TABLE = "test_table"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
# under the License.
from __future__ import annotations

from collections.abc import Collection, Sequence
from collections.abc import Sequence
from functools import cached_property
from typing import TYPE_CHECKING, ClassVar

Expand All @@ -41,7 +41,7 @@
class NoteBook(File):
"""Jupyter notebook."""

template_fields: ClassVar[Collection[str]] = {"parameters", *File.template_fields}
template_fields: ClassVar[tuple[str, ...]] = ("parameters", *File.template_fields)

type_hint: str | None = "jupyter_notebook"
parameters: dict | None = {}
Expand Down