Skip to content

Add optional timeout argument to graph queries #87

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 2 commits into from
Aug 27, 2020

Conversation

jeffreylovitz
Copy link
Contributor

No description provided.

@codecov
Copy link

codecov bot commented Aug 26, 2020

Codecov Report

Merging #87 into master will increase coverage by 0.16%.
The diff coverage is 90.90%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master      #87      +/-   ##
==========================================
+ Coverage   84.99%   85.16%   +0.16%     
==========================================
  Files           8        8              
  Lines         573      593      +20     
==========================================
+ Hits          487      505      +18     
- Misses         86       88       +2     
Impacted Files Coverage Δ
test.py 98.70% <86.66%> (-1.30%) ⬇️
redisgraph/graph.py 94.44% <100.00%> (+0.26%) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 387e86d...02c1269. Read the comment docs.

Comment on lines 128 to 129
if timeout:
command += ["timeout", timeout]
Copy link
Contributor

Choose a reason for hiding this comment

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

Consider validating timeout is a number

# Expecting an error.
pass


Copy link
Contributor

Choose a reason for hiding this comment

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

Remove extra line

@swilly22 swilly22 merged commit 260926c into master Aug 27, 2020
@swilly22 swilly22 deleted the enable-query-timeouts branch August 27, 2020 18:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants