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

Sql connections #113

Merged
merged 29 commits into from
Jan 21, 2020
Merged

Sql connections #113

merged 29 commits into from
Jan 21, 2020

Conversation

Naawww
Copy link
Contributor

@Naawww Naawww commented Jan 6, 2020

Another simple module. Contains wrapped reference data library connections. These will not be accessible to those outside the organisation though, so is this a problem?

Naawww and others added 16 commits December 5, 2019 11:52
Updating my fork to the current version of codonPython.
Adding the intial file.
Adding commonly used SQL_connections.py
starting test_SQL_connections.py
Pytest script for SQL_connections
changing test_SQL_connections.py to SQL_connections_test.py
Improved the descriptions and tidied up the functions.
Adding SQL_connections module import!
Created initial file
made first test: test_ref_decode_col_num
Cleaned up the unit test.
Added connections to each function to allow repointing of functions by users.
Added org_col unit tests.
@murd0
Copy link
Contributor

murd0 commented Jan 8, 2020

Hey @Naawww

Can you please check the pipeline tasks that have failed and rectify them?

@georgeRobertson georgeRobertson requested a review from murd0 January 8, 2020 17:38
@georgeRobertson georgeRobertson added the enhancement New feature or request label Jan 8, 2020
Copy link
Contributor

@murd0 murd0 left a comment

Choose a reason for hiding this comment

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

Please address pipeline failure.

@murd0
Copy link
Contributor

murd0 commented Jan 17, 2020

To fix pyodbc install error for the pipeline:
mkleehammer/pyodbc#276
Add - sudo apt-get install unixodbc-dev to .travis.yml under install

@codecov
Copy link

codecov bot commented Jan 20, 2020

Codecov Report

❗ No coverage uploaded for pull request base (master@e9e5514). Click here to learn what that means.
The diff coverage is 83.74%.

Impacted file tree graph

@@           Coverage Diff            @@
##             master    #113   +/-   ##
========================================
  Coverage          ?   87.7%           
========================================
  Files             ?      26           
  Lines             ?     553           
  Branches          ?       0           
========================================
  Hits              ?     485           
  Misses            ?      68           
  Partials          ?       0
Impacted Files Coverage Δ
codonPython/dateValidator.py 100% <ø> (ø)
codonPython/check_null.py 100% <100%> (ø)
codonPython/tests/nhsNumber_test.py 100% <100%> (ø)
codonPython/tests/file_utils_test.py 100% <100%> (ø)
codonPython/tests/suppression_test.py 100% <100%> (ø)
codonPython/tolerance.py 100% <100%> (ø)
codonPython/check_nat_val.py 100% <100%> (ø)
codonPython/nhsNumber.py 100% <100%> (ø)
codonPython/tests/check_null_test.py 100% <100%> (ø)
codonPython/tests/age_bands_test.py 100% <100%> (ø)
... and 15 more

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 e9e5514...2c91a37. Read the comment docs.

Copy link
Contributor

@murd0 murd0 left a comment

Choose a reason for hiding this comment

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

Great contribution Sam! Thanks especially for the sqlite stuff.

@murd0 murd0 merged commit 8211d6d into codonlibrary:master Jan 21, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants