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

♻️ Save schema to hub upon init #782

Merged
merged 4 commits into from
Jun 24, 2024
Merged

♻️ Save schema to hub upon init #782

merged 4 commits into from
Jun 24, 2024

Conversation

falexwolf
Copy link
Member

No description provided.

if isettings.dialect != "sqlite":
from ._schema_metadata import update_schema_in_hub

update_schema_in_hub()
Copy link
Member Author

@falexwolf falexwolf Jun 24, 2024

Choose a reason for hiding this comment

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

@fredericenard - the instance and everything in the hub are fully generated at this point.

Evidently, this function is called by the user who creates the instance, so the JWT should be correct.

Copy link

@github-actions github-actions bot temporarily deployed to pull request June 24, 2024 10:41 Inactive
Copy link

codecov bot commented Jun 24, 2024

Codecov Report

Attention: Patch coverage is 42.85714% with 4 lines in your changes missing coverage. Please review.

Project coverage is 82.22%. Comparing base (043ea39) to head (524bce7).
Report is 1 commits behind head on main.

Files Patch % Lines
lamindb_setup/_init_instance.py 60.00% 2 Missing ⚠️
lamindb_setup/_migrate.py 0.00% 2 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main     #782      +/-   ##
==========================================
+ Coverage   82.15%   82.22%   +0.06%     
==========================================
  Files          41       41              
  Lines        3115     3116       +1     
==========================================
+ Hits         2559     2562       +3     
+ Misses        556      554       -2     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@falexwolf falexwolf merged commit 67b0fe1 into main Jun 24, 2024
10 of 11 checks passed
@falexwolf falexwolf deleted the saveschemainhuboninit branch June 24, 2024 10:53
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