summaryrefslogtreecommitdiff
path: root/rdflib/plugins/sparql/evalutils.py
Commit message (Collapse)AuthorAgeFilesLines
* feat: more type hints for `rdflib.plugins.sparql` (#2268)Iwan Aucamp2023-03-131-16/+89
| | | | | | | | | | | | | | | | | | | A bit of a roundabout reason why this matters now, but basically: I want to add examples for securing RDFLib with `sys.addaudithook` and `urllib.request.install_opener`. I also want to be sure examples are actually valid, and runnable, so I was adding static analysis and simple execution of examples to our CI. During this, I noticed that examples use `initBindings` with `Dict[str,...]`, which was not valid according to mypy, but then after some investigation I realized the type hints in some places were too strict. So the main impetus for this is actually to relax the type hints in `rdflib.graph`, but to ensure this is valid I'm adding a bunch of type hints I had saved up to `rdflib.plugins.sparql`. Even though this PR looks big, it has no runtime changes.
* build(deps-dev): bump black from 22.12.0 to 23.1.0 (#2248)dependabot[bot]2023-03-111-1/+0
|
* style: fix/ignore flake8 errors in `rdflib/plugins/sparql/` (#1964)Iwan Aucamp2022-05-211-1/+1
| | | | | | | These will eventually come up once `flakeheaven` baseline expires. The actual problems should be fixed in conjunction with tests. Only fixes are related to unused imports.
* [pre-commit.ci] auto fixes from pre-commit.com hookspre-commit-ci[bot]2022-04-151-4/+3
| | | | for more information, see https://pre-commit.ci
* Add some typing for evaluation related functions in the SPARQL plugin.Iwan Aucamp2021-12-291-4/+5
| | | | | | Added this while debugging #1524. This change contains no runtime changes.
* blacked everything6.0.0Nicholas Car2021-07-201-1/+1
|
* changes for flake8Nicholas Car2020-05-171-1/+1
|
* blacked all python filesNicholas Car2020-05-161-9/+6
|
* a slightly opinionated autopep8 runGunnar Aastrand Grimnes2018-10-301-3/+1
| | | | | | | | opinions is mainly: no to long lines, but not at any cost. notation3.py crashses autopep :D Also rdflib/__init__.py gets completely broken
* made min/max aggregate functions support all literals (#694)Gunnar Aastrand Grimnes2017-01-201-1/+12
| | | | | not just numerics as before. fixes #628
* merged with fix_sparql_raise_unbound (fixing broken DAWG tests)Pierre-Antoine Champin2016-03-191-2/+5
|\
| * raise instead of return NotBoundError exception and adapted handling codefix_sparql_raise_unboundJoern Hees2015-12-291-1/+1
|/
* more sparql generatorsGunnar Aastrand Grimnes2013-04-301-3/+1
|
* sparql queries will stream results through generatorsGunnar Aastrand Grimnes2013-04-291-3/+1
|
* Immigrate rdflib-sparql (plus some prefiguring changes)Graham Higgins2013-03-211-0/+115