Skip to content

chore(types): fix type errors add version information#162

Merged
deveaud-m merged 3 commits into
mainfrom
fix/types
Jan 9, 2026
Merged

chore(types): fix type errors add version information#162
deveaud-m merged 3 commits into
mainfrom
fix/types

Conversation

@deveaud-m
Copy link
Copy Markdown
Collaborator

@deveaud-m deveaud-m commented Jan 8, 2026

In preparation for the integration of v2 endpoints.

@codecov
Copy link
Copy Markdown

codecov Bot commented Jan 9, 2026

Codecov Report

❌ Patch coverage is 89.09091% with 6 lines in your changes missing coverage. Please review.
✅ Project coverage is 92.07%. Comparing base (f4093fd) to head (d0b6f29).
⚠️ Report is 10 commits behind head on main.

Files with missing lines Patch % Lines
fossology/obj.py 0.00% 4 Missing ⚠️
fossology/foss_cli.py 33.33% 2 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main     #162      +/-   ##
==========================================
- Coverage   92.26%   92.07%   -0.19%     
==========================================
  Files          15       15              
  Lines        1771     1780       +9     
==========================================
+ Hits         1634     1639       +5     
- Misses        137      141       +4     

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

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@deveaud-m
Copy link
Copy Markdown
Collaborator Author

This PR introduces mostly type hints changes which do not affect functionality.

The only functionality change concerns the API version now documented in the main Fossology object to start support for v2.

@deveaud-m deveaud-m merged commit 4e1dc7f into main Jan 9, 2026
4 of 6 checks passed
@deveaud-m deveaud-m deleted the fix/types branch January 9, 2026 11:05
DEVANSH-GAJJAR added a commit to DEVANSH-GAJJAR/fossology-python that referenced this pull request Jan 9, 2026
DEVANSH-GAJJAR added a commit to DEVANSH-GAJJAR/fossology-python that referenced this pull request Feb 16, 2026
…y#140)

Refactor: Implement FolderFactory and rebase on fossology#162

Fix: Removed Broken test files and cleanup formatting

Fix: Restore from_json and fix from_json_v2 logic

fix: normalize parent field for API v2 response

Fix folder move/copy for API v2 parent field handling

fix: add api v2 folder mocks to tests

fix(folders): handle v2 parent mapping and move/copy refresh

fix: add folder.from._json_v2() method

fix: add __eq__ to Folder, fix parent parsing and list_folders error handling
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