Skip to content
Snippets Groups Projects
Commit 3df5a0fa authored by Romin's avatar Romin :eye:
Browse files

Fixed type annotations

parent 839e47ec
No related branches found
No related tags found
No related merge requests found
......@@ -38,7 +38,7 @@ if TYPE_CHECKING:
# Module globals/constants
###############################################################################
XSD_TYPES: dict[str, dict] = {
XSD_TYPES: Dict[str, dict] = {
"integer": {
"type": int,
"values": [
......
......@@ -27,7 +27,7 @@ provides a more intuitive, Coscine-specific interface to these graphs.
###############################################################################
from __future__ import annotations
from typing import List
from typing import Dict, List
import rdflib
###############################################################################
......@@ -144,7 +144,7 @@ class ApplicationProfile:
GROUP BY ?name
ORDER BY ASC(?order)
"""
items: dict[str, dict] = {}
items: Dict[str, Dict] = {}
results = self.query(query)
for result in results:
lang: str = str(result[7])
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment