Files @ 076f8551ae36
Branch filter:

Location: light9/stubs/rdflib/__init__.pyi

Drew Perttula
quiet some logs on live/
Ignore-this: 4e35636eb9b0a74ac777cd1dc2b53f3b
# 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

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]