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

Fix unresolved ClassVar attribute error #919

Merged
merged 8 commits into from
Apr 15, 2024

Conversation

koxudaxi
Copy link
Owner

Fixes: #899

@codecov-commenter
Copy link

codecov-commenter commented Apr 14, 2024

Codecov Report

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

Project coverage is 71.72%. Comparing base (4ba1738) to head (8e80439).
Report is 1 commits behind head on main.

Files Patch % Lines
src/com/koxudaxi/pydantic/Pydantic.kt 81.81% 1 Missing and 3 partials ⚠️
...koxudaxi/pydantic/PydanticCompletionContributor.kt 50.00% 2 Missing ⚠️
src/com/koxudaxi/pydantic/PydanticInspection.kt 86.66% 0 Missing and 2 partials ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main     #919      +/-   ##
==========================================
- Coverage   71.72%   71.72%   -0.01%     
==========================================
  Files          28       28              
  Lines        2076     2083       +7     
  Branches      656      662       +6     
==========================================
+ Hits         1489     1494       +5     
- Misses        277      278       +1     
- Partials      310      311       +1     

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

Copy link
Contributor

github-actions bot commented Apr 14, 2024

Qodana Community for Python

It seems all right 👌

No new problems were found according to the checks applied

💡 Qodana analysis was run in the pull request mode: only the changed files were checked

View the detailed Qodana report

To be able to view the detailed Qodana report, you can either:

  1. Register at Qodana Cloud and configure the action
  2. Use GitHub Code Scanning with Qodana
  3. Host Qodana report at GitHub Pages
  4. Inspect and use qodana.sarif.json (see the Qodana SARIF format for details)

To get *.log files or any other Qodana artifacts, run the action with upload-result option set to true,
so that the action will upload the files as the job artifacts:

      - name: 'Qodana Scan'
        uses: JetBrains/qodana-action@v2023.3.2
        with:
          upload-result: true
Contact Qodana team

Contact us at qodana-support@jetbrains.com

@koxudaxi koxudaxi changed the title Fix Unresolve ClassVar attribute error Fix Unresolved ClassVar attribute error Apr 14, 2024
@koxudaxi koxudaxi changed the title Fix Unresolved ClassVar attribute error Fix unresolved ClassVar attribute error Apr 14, 2024
@koxudaxi koxudaxi merged commit 5fbbd2f into main Apr 15, 2024
5 checks passed
@koxudaxi koxudaxi deleted the fix_unresolve_ClassVar_attribute_error branch April 15, 2024 08:35
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.

typing.ClassVar in model is no longer understood / recognised - False unresolved attribute reference
2 participants