Skip to content

33508 merge with main#4490

Open
kialj876 wants to merge 10 commits into
bcgov:mainfrom
kialj876:33508-merge-with-main
Open

33508 merge with main#4490
kialj876 wants to merge 10 commits into
bcgov:mainfrom
kialj876:33508-merge-with-main

Conversation

@kialj876

@kialj876 kialj876 commented Jun 15, 2026

Copy link
Copy Markdown
Collaborator

Issue #: /bcgov/entity#33508

Description of changes:
Most of this has already been reviewed and the updates to make during the rebase were all minor things (typing, imports, test mock setup change, etc.).
You can also follow the commits below to make it easier to ignore what has already been reviewed. Please note that I rebased this off of main and you will see I messed it up a bit in the legal_api init which I fix later on in the commit history.

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).

kialj876 and others added 7 commits June 15, 2026 13:33
* Initial commit - Python 3.13, major deps, major flows passed manual testing, unit tests setup broken

Signed-off-by: Kial Jinnah <[email protected]>

* interim commit - over 80% of tests passing

Signed-off-by: Kial Jinnah <[email protected]>

* interim commit - fixes for meta, naics, and authorization tests

Signed-off-by: Kial Jinnah <[email protected]>

* All tests passing except a couple

Signed-off-by: Kial Jinnah <[email protected]>

* Fixed remaining tests

Signed-off-by: Kial Jinnah <[email protected]>

* cleanup

Signed-off-by: Kial Jinnah <[email protected]>

* chore: lint fixes

Signed-off-by: Kial Jinnah <[email protected]>

* sonar cloud reliability

Signed-off-by: Kial Jinnah <[email protected]>

* chore: rebase

Signed-off-by: Kial Jinnah <[email protected]>

* chore lint warnings

Signed-off-by: Kial Jinnah <[email protected]>

* chore: update model dep for consolidation comments

Signed-off-by: Kial Jinnah <[email protected]>

* chore: cleanup for green CI

Signed-off-by: Kial Jinnah <[email protected]>

* chore: poetry lock for lxml dep update

Signed-off-by: Kial Jinnah <[email protected]>

---------

Signed-off-by: Kial Jinnah <[email protected]>
* 33245 Legal API - use common utils, reduce deprecation warnings

Signed-off-by: Kial Jinnah <[email protected]>

* chore: cleanup

Signed-off-by: Kial Jinnah <[email protected]>

* chore: cleanup

Signed-off-by: Kial Jinnah <[email protected]>

* chore: update lock file

Signed-off-by: Kial Jinnah <[email protected]>

* chore: fix typing on sonar cloud issue

Signed-off-by: Kial Jinnah <[email protected]>

---------

Signed-off-by: Kial Jinnah <[email protected]>
* 33246 Legal API - use common account

Signed-off-by: Kial Jinnah <[email protected]>

* chore: cleanup

Signed-off-by: Kial Jinnah <[email protected]>

* chore: ruff fix

Signed-off-by: Kial Jinnah <[email protected]>

---------

Signed-off-by: Kial Jinnah <[email protected]>
… common (bcgov#4465)

* Legal API DBC use python common

Signed-off-by: Lucas <[email protected]>

* lint

Signed-off-by: Lucas <[email protected]>

* test

Signed-off-by: Lucas <[email protected]>

* Update dep

Signed-off-by: Lucas <[email protected]>

* Fix lock

Signed-off-by: Lucas <[email protected]>

* Tests

Signed-off-by: Lucas <[email protected]>

* Test

Signed-off-by: Lucas <[email protected]>

---------

Signed-off-by: Lucas <[email protected]>
Signed-off-by: Kial Jinnah <[email protected]>
@kialj876 kialj876 marked this pull request as draft June 15, 2026 17:46
Signed-off-by: Kial Jinnah <[email protected]>
@kialj876

Copy link
Copy Markdown
Collaborator Author

Quality Gate Failed Quality Gate failed

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

See analysis details on SonarQube Cloud

Existing duplication getting picked up due to new imports etc.

@kialj876 kialj876 marked this pull request as ready for review June 15, 2026 18:21
@kialj876

kialj876 commented Jun 15, 2026

Copy link
Copy Markdown
Collaborator Author

will need to update the lock file with the updated model dep after this is merged: #4495 done

@thorwolpert thorwolpert left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

I looked through a great deal of this, it looks like you caught everything in the change for the model and typing (nice to bring that up to the latest pythonic style).
Great to see the model move being completed!

@sonarqubecloud

Copy link
Copy Markdown

Quality Gate Failed Quality Gate failed

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

See analysis details on SonarQube Cloud

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.

3 participants