Added available() method and check_url to argument to Triplestore#437
Merged
jesper-friis merged 10 commits intomasterfrom Oct 7, 2025
Merged
Added available() method and check_url to argument to Triplestore#437jesper-friis merged 10 commits intomasterfrom
jesper-friis merged 10 commits intomasterfrom
Conversation
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## master #437 +/- ##
==========================================
+ Coverage 83.86% 83.88% +0.01%
==========================================
Files 29 29
Lines 4109 4114 +5
==========================================
+ Hits 3446 3451 +5
Misses 663 663 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
francescalb
reviewed
Oct 7, 2025
francescalb
reviewed
Oct 7, 2025
francescalb
reviewed
Oct 7, 2025
tripper/triplestore.py
Outdated
|
|
||
| Arguments: | ||
| timeout: Total time in seconds to wait for a respond. | ||
| interval: Interval for checking response. |
Contributor
Author
There was a problem hiding this comment.
I have now updated the docstring to the following:
interval: Internal time interval in seconds between checking if the
service has responded.
Is that more understandable?
Co-authored-by: Francesca L. Bleken <48128015+francescalb@users.noreply.github.com>
Co-authored-by: Francesca L. Bleken <48128015+francescalb@users.noreply.github.com>
francescalb
approved these changes
Oct 7, 2025
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
Integrated checking if a backend service is available to the standard Triplestore API, by adding the available() method and check_url to argument to the Triplestore class.
The
check_urlconfiguration can now be configured together with other parameters in the session.Simplified tests by using sessions and the new
check_urlconfiguration.Type of change
Checklist for the reviewer
This checklist should be used as a help for the reviewer.