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

Reading user and instance settings #2

Merged
merged 1 commit into from
Oct 2, 2024
Merged

Reading user and instance settings #2

merged 1 commit into from
Oct 2, 2024

Conversation

rcannood
Copy link
Collaborator

@rcannood rcannood commented Aug 28, 2024

I accidentally entered into a rabbithole porting code from lamindb_setup, something we didn't want to spend time on at this stage.

Instead of deleting the code, I might as well commit the code and create a draft PR. Perhaps we can come back to it at a later stage.

@rcannood rcannood marked this pull request as ready for review October 2, 2024 11:46
rcannood added a commit that referenced this pull request Oct 2, 2024
@rcannood rcannood changed the title wip porting some lamindb_setup code Reading user and instance settings Oct 2, 2024
@rcannood rcannood merged commit 26abe73 into main Oct 2, 2024
@rcannood rcannood deleted the lamindb_setup branch October 2, 2024 14:55
rcannood added a commit that referenced this pull request Oct 4, 2024
* wip porting some lamindb_setup code

* experiment with class refactoring

* start with new class implementations

* implement get_record again

* get related fields

* connect via lamindb_setup

* create instance wrapper function

* evaluate functions

* merge PR #2 into this branch and refactor

* style code

* update class diagram

* clean up class fields

* fix issues with classes

* update markdowns

* update readme

* fix merge

* update changelog

* undo accidentally committed changes

* rename Model to Registry

* fix renaming model to registry

* fix due to changes in Lamin Hub API

* only create the record class once

* rename API to InstanceAPI

* move assertion to the top of the function

* change stop to cli_abort and warning to cli_warn

* use consistent naming

* directly access the registry classes

* update readme

* return the registry class instead of having a function to convert a list to a record

* create the helper functions in a less roundabout way

* use lowercase variable name

* rename classes

* add roxygen docs to classes

* update rbuildignore
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.

1 participant