Create read only client for connection to penelopedb [Ticket #10] - #32
Open
chelseakwan wants to merge 6 commits into
Open
chelseakwan wants to merge 6 commits into
chelseakwan wants to merge 6 commits into
Conversation
TKDPenguin
requested review from
TKDPenguin
and
a lite review from Copilot
and removed request for
Copilot
September 20, 2026 16:00
TKDPenguin
reviewed
Sep 20, 2026
TKDPenguin
left a comment
Collaborator
There was a problem hiding this comment.
Everything looks great for the most part! The only thing is that in your PR description you put N/A under how you tested the code, but you have test_penelope.py. Did you run test_penelope.py? If so, what did it output? Did it seem correct?
Collaborator
|
Yes sorry, we did test it in test_penelope.py. The output seemed correct for get_by_time_bounds and get_by_run_id. Also ran get_all() works, but times out on the full table. |
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.
Overview
Provide a brief summary of the changes you made and files touched.
Created files models.py and client.py.
Models.py: creates data models that directly mirror the data model in the Penelope DB
Client.py: Created a client to query data from PenelopeDB, accounts for different querying types, includes erroring handling for accessing Penelope DB and reading data.
Technical Description
How did you achieve this goal. Explain briefly how your change achieves the ticket's ask.
Broke up the tickets into two parts so it was more digestible. Added a method of reading data fro PenelopeDB so we can write it into OrionDB in next ticket.
How Has This Been Tested?
Describe your steps for testing this work. Include screenshots or unit test files.
N/A
Ticket Review
Answer the following: