Files
@ 0bb08e887166
Branch filter:
Location: light9/stubs/rdflib/__init__.pyi - annotation
0bb08e887166
509 B
text/plain
bcf2000 python 3 support
Ignore-this: 2f78d9c590846a357876afc5116aaa5d
Ignore-this: 2f78d9c590846a357876afc5116aaa5d
0f0ff27e55a3 0f0ff27e55a3 0f0ff27e55a3 0f0ff27e55a3 0f0ff27e55a3 0f0ff27e55a3 0f0ff27e55a3 0f0ff27e55a3 0f0ff27e55a3 0f0ff27e55a3 0f0ff27e55a3 f1f426af34ed 0f0ff27e55a3 0f0ff27e55a3 0f0ff27e55a3 0f0ff27e55a3 0f0ff27e55a3 0f0ff27e55a3 0f0ff27e55a3 0f0ff27e55a3 0f0ff27e55a3 0f0ff27e55a3 0f0ff27e55a3 0f0ff27e55a3 | # Stubs for rdflib (Python 3.4)
#
from typing import Tuple, Union
# this is the 1st way that worked. 'from rdflib.term import URIRef' did not work.
import rdflib.namespace as _n
Namespace = _n.Namespace
RDF: Namespace
RDFS: Namespace
XSD: Namespace
import rdflib.term as _t
URIRef = _t.URIRef
Literal = _t.Literal
BNode = _t.BNode
import rdflib.graph as _g
ConjunctiveGraph = _g.ConjunctiveGraph
Graph = _g.Graph
# not part of rdflib
StatementType = Tuple[Union[URIRef, BNode], URIRef, _t.Node, URIRef]
|