Skip to content

[VIRTS-3044] Silence Schema Warnings#2333

Closed
bleepbop wants to merge 1 commit into
masterfrom
bleepbop/VIRTS-3044/silence-marshmallow-warnings
Closed

[VIRTS-3044] Silence Schema Warnings#2333
bleepbop wants to merge 1 commit into
masterfrom
bleepbop/VIRTS-3044/silence-marshmallow-warnings

Conversation

@bleepbop
Copy link
Copy Markdown
Contributor

Description

Note: associated with #2324
When the request schema is modified in the aiohttp_apispec.request decorator, a "multiple schema" warning will be logged. There are no errors associated with this message; marshmallow simply logs this message to make sure users know that schema fields have been included/excluded. This PR silences those warnings.

Type of change

  • Bug fix (non-breaking change which fixes an issue)

How Has This Been Tested?

Verified manually that "Duplicate Schema" warnings are silenced in the server output.

Checklist:

  • My code follows the style guidelines of this project
  • I have performed a self-review of my own code
  • [NA] I have made corresponding changes to the documentation
  • [NA] I have added tests that prove my fix is effective or that my feature works

@codecov
Copy link
Copy Markdown

codecov Bot commented Oct 22, 2021

Codecov Report

Merging #2333 (20e6ea5) into master (c121153) will decrease coverage by 0.01%.
The diff coverage is 0.00%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master    #2333      +/-   ##
==========================================
- Coverage   72.62%   72.60%   -0.02%     
==========================================
  Files         110      110              
  Lines        7942     7944       +2     
==========================================
  Hits         5768     5768              
- Misses       2174     2176       +2     
Impacted Files Coverage Δ
server.py 0.00% <0.00%> (ø)

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update c121153...20e6ea5. Read the comment docs.

@sonarqubecloud
Copy link
Copy Markdown

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

No Coverage information No Coverage information
0.0% 0.0% Duplication

@bleepbop bleepbop closed this Oct 22, 2021
@mkultraWasHere mkultraWasHere deleted the bleepbop/VIRTS-3044/silence-marshmallow-warnings branch February 24, 2023 15:01
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