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

Add variables to group and layer models #505

Merged
merged 7 commits into from
Jan 12, 2024
Merged

Conversation

Bo-Duke
Copy link
Member

@Bo-Duke Bo-Duke commented Dec 21, 2023

Ok so I'm not sure at ALL about some of the stuff here, especially around the migrations. I just applied make migration and migrate

@Bo-Duke Bo-Duke requested a review from submarcos December 21, 2023 17:26
@@ -164,6 +167,8 @@ class LayerGroup(models.Model):
)
order = models.IntegerField(default=0)
exclusive = models.BooleanField(default=False)
byVariable = models.BooleanField(default=False)
Copy link
Member

Choose a reason for hiding this comment

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

Suggested change
byVariable = models.BooleanField(default=False)
by_variable = models.BooleanField(default=False)

respect the default python lower_case

Copy link

codecov bot commented Jan 12, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Comparison is base (6afcbd3) 95.06% compared to head (6ae1be0) 95.04%.

Additional details and impacted files
@@            Coverage Diff             @@
##           master     #505      +/-   ##
==========================================
- Coverage   95.06%   95.04%   -0.03%     
==========================================
  Files          80       80              
  Lines        2899     2906       +7     
==========================================
+ Hits         2756     2762       +6     
- Misses        143      144       +1     
Flag Coverage Δ
backend-unittests 95.04% <100.00%> (-0.03%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.

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

@submarcos submarcos merged commit dafc491 into master Jan 12, 2024
6 checks passed
@submarcos submarcos deleted the group_byvariables branch January 12, 2024 15:27
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