summaryrefslogtreecommitdiff
path: root/test/jsonld/test_pythonparse.py
Commit message (Collapse)AuthorAgeFilesLines
* [pre-commit.ci] auto fixes from pre-commit.com hookspre-commit-ci[bot]2022-04-151-1/+2
| | | | for more information, see https://pre-commit.ci
* Run flake8jmoore2021-11-231-1/+1
|
* Run blackjmoore2021-11-231-4/+2
|
* Add equivalency test using isomorphicjmoore2021-11-231-6/+9
|
* Remove use of pytestjmoore2021-11-151-1/+0
|
* RFC: Add PythonInputSource to create py-based graphsjmoore2021-11-151-0/+76
In order to manipulate a JSON-LD structure before creating a graph (specifically to simplify rdf:Seq handling), it is currently necessary to use `json.loads` followed by `dumps` and then let `Graph().parse()` re-load. By detecting `dict` instances and creating a `PythonInputSource`, a single call to `loads` suffices.