Skip to content
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

test: fix GraphHelper.quad_set handling of Dataset #1946

Merged
merged 1 commit into from
May 16, 2022

Conversation

aucampia
Copy link
Member

Summary of changes

GraphHelper.quad_set was doing the wrong thing for Datasets because
Datasets are not exactly a subclass of ConjunctiveGraph.

This adds special handling for Dataset so it works correctly.

Also:

  • Fix some flake8 errors

Checklist

  • Checked that there aren't other open pull requests for
    the same change.
  • Checked that all tests and type checking passes.
  • Considered granting push permissions to the PR branch,
    so maintainers can fix minor issues and keep your PR up to date.

`GraphHelper.quad_set` was doing the wrong thing for Datasets because
Datasets are not exactly a subclass of ConjunctiveGraph.

This adds special handling for Dataset so it works correctly.

Also:
- Fix some flake8 errors
@aucampia aucampia force-pushed the iwana-20220516T1841-flake8_fixes branch from 0ca0f1f to 2b4fe25 Compare May 16, 2022 17:33
@aucampia aucampia marked this pull request as ready for review May 16, 2022 17:33
@sonarqubecloud
Copy link

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

No Coverage information No Coverage information
No Duplication information No Duplication information

Copy link

@ghost ghost left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

@aucampia aucampia merged commit a2866cd into RDFLib:master May 16, 2022
@aucampia aucampia deleted the iwana-20220516T1841-flake8_fixes branch June 4, 2022 21:53
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.

1 participant