Skip to content

Commit 85182bf

Browse files
committed
Pre-commit
1 parent bbc4c12 commit 85182bf

File tree

1 file changed

+3
-7
lines changed

1 file changed

+3
-7
lines changed

rdflib/plugins/shared/jsonld/context.py

Lines changed: 3 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -6,13 +6,7 @@
66
from __future__ import annotations
77

88
from collections.abc import Collection, Generator
9-
from typing import (
10-
TYPE_CHECKING,
11-
Any,
12-
Optional,
13-
Union,
14-
NamedTuple
15-
)
9+
from typing import TYPE_CHECKING, Any, NamedTuple, Optional, Union
1610
from urllib.parse import urljoin, urlsplit
1711

1812
from rdflib.namespace import RDF
@@ -76,6 +70,7 @@ class Context:
7670
"""
7771
A JSON-LD context, which contains term definitions
7872
"""
73+
7974
_base: str | None
8075
_alias: dict[str, list[str]]
8176
_lookup: dict[tuple[str, Any, Defined | str, bool], Term]
@@ -689,6 +684,7 @@ class Term(NamedTuple):
689684
"""
690685
Describes how a JSON key should be interpreted when parsed as RDF
691686
"""
687+
692688
#: The IRI or CURIE of the term.
693689
id: str
694690
#: The name of the term, ie an alias for the id.

0 commit comments

Comments
 (0)