Skip to content

Add has_database function and correct docstring of get_database #341

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 1 commit into from
Aug 24, 2022

Conversation

rrooij
Copy link
Contributor

@rrooij rrooij commented Aug 24, 2022

has_database is better to check for existence of a database rather than using connect or catch the exception of get_database

has_database is better to check for existance of a database
rather than using connect or catch the exception of get_database
@codecov
Copy link

codecov bot commented Aug 24, 2022

Codecov Report

Merging #341 (56ece85) into main (ab5fe56) will increase coverage by 0.04%.
The diff coverage is 100.00%.

@@            Coverage Diff             @@
##             main     #341      +/-   ##
==========================================
+ Coverage   68.40%   68.44%   +0.04%     
==========================================
  Files          10       10              
  Lines        3887     3892       +5     
==========================================
+ Hits         2659     2664       +5     
  Misses       1228     1228              
Impacted Files Coverage Δ
terminusdb_client/client/Client.py 77.77% <100.00%> (+0.12%) ⬆️

📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more

@rrooij rrooij merged commit 42d80a7 into main Aug 24, 2022
@rrooij rrooij deleted the has_database branch August 24, 2022 11:48
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.

2 participants