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

20179 get amalgamated into from version data #2519

Merged
merged 3 commits into from
Mar 15, 2024

Conversation

vysakh-menon-aot
Copy link
Collaborator

Issue #: /bcgov/entity#20179

Description of changes:

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of the lear license (Apache 2.0).

@vysakh-menon-aot vysakh-menon-aot self-assigned this Mar 14, 2024
@codecov-commenter
Copy link

codecov-commenter commented Mar 15, 2024

Codecov Report

Attention: Patch coverage is 86.36364% with 3 lines in your changes are missing coverage. Please review.

Project coverage is 75.35%. Comparing base (81aac8e) to head (3854887).
Report is 13 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #2519      +/-   ##
==========================================
- Coverage   75.49%   75.35%   -0.15%     
==========================================
  Files         196      196              
  Lines       12264    12319      +55     
  Branches     2054     2065      +11     
==========================================
+ Hits         9259     9283      +24     
- Misses       2442     2471      +29     
- Partials      563      565       +2     
Flag Coverage Δ
legalapi 76.25% <86.36%> (-0.16%) ⬇️

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

Files Coverage Δ
legal-api/src/legal_api/models/amalgamation.py 84.44% <100.00%> (-12.33%) ⬇️
legal-api/src/legal_api/models/filing.py 92.47% <100.00%> (+0.06%) ⬆️
legal-api/src/legal_api/models/business.py 93.61% <50.00%> (-1.19%) ⬇️

... and 1 file with indirect coverage changes

Copy link

sonarcloud bot commented Mar 15, 2024

Quality Gate Failed Quality Gate failed

Failed conditions
17.8% Duplication on New Code (required ≤ 3%)

See analysis details on SonarCloud

def get_amalgamation_revision_obj(cls, transaction_id, business_id):
"""Get amalgamation for the given transaction id."""
# pylint: disable=singleton-comparison;
amalgamation_version = version_class(Amalgamation)
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

@argush3 Introducing the version data in model

Copy link
Collaborator

Choose a reason for hiding this comment

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

thanks for the heads up!

@vysakh-menon-aot vysakh-menon-aot merged commit a1c8675 into bcgov:main Mar 15, 2024
6 of 7 checks passed
@vysakh-menon-aot vysakh-menon-aot deleted the feature/20179-fix branch March 15, 2024 17:48
JazzarKarim pushed a commit to JazzarKarim/lear that referenced this pull request Mar 20, 2024
JazzarKarim added a commit to JazzarKarim/lear that referenced this pull request Mar 20, 2024
JazzarKarim pushed a commit to JazzarKarim/lear that referenced this pull request Mar 20, 2024
JazzarKarim added a commit to JazzarKarim/lear that referenced this pull request Mar 20, 2024
PaulGarewal pushed a commit to PaulGarewal/lear that referenced this pull request Mar 26, 2024
PaulGarewal pushed a commit to PaulGarewal/lear that referenced this pull request Mar 26, 2024
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.

4 participants