Skip to content

Add SPARQL query result type assertions #102

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 13 commits into from
Mar 20, 2023

Conversation

ajnelson-nist
Copy link
Member

This PR is intentionally filed with a patch based on main. In anticipation of a case-utils release in the next two weeks, and for lack of recollection of downstream module importers of case_utils.case_sparql_select (and _construct), there might not be need of a 0.9.1 release to cover a two-week gap.

asovern-mitre and others added 13 commits June 14, 2021 10:13
RDFLib 6.3.0, released today, included an update to type hints for the
`Graph.query` function.  Issue 2283 logs some of the new induced type
hints required to get `mypy --strict` to pass.

This patch is needed to respond to the newly induced type assertion
requirements.  It is intentionally based off of `main` in case a
hotfix `case-utils` release is required.

References:
* RDFLib/rdflib#2283

Signed-off-by: Alex Nelson <[email protected]>
This patch is built off of `main` due to one of the `pre-commit`
environments failing in its current pinned version, meaning this could
potentially be part of a bugfix release.

Signed-off-by: Alex Nelson <[email protected]>
Signed-off-by: Alex Nelson <[email protected]>
@ajnelson-nist
Copy link
Member Author

Once CI passes, I'm fine with this being merged. But, CI must pass.

@ajnelson-nist ajnelson-nist marked this pull request as ready for review March 17, 2023 21:16
@ajnelson-nist ajnelson-nist requested a review from a team as a code owner March 17, 2023 21:16
@kchason kchason merged commit 5cd80fc into develop Mar 20, 2023
@ajnelson-nist ajnelson-nist deleted the HotFix-sparql-query-result-types branch April 28, 2023 20:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants