Skip to content
This repository has been archived by the owner on Jun 7, 2024. It is now read-only.

Pin pydantic to 1.X #30

Merged
merged 3 commits into from
Jul 10, 2023
Merged

Pin pydantic to 1.X #30

merged 3 commits into from
Jul 10, 2023

Conversation

gregory-schiano
Copy link
Contributor

Pinning pydantic to 1.X to avoid issues with pydantic 2

arturo-seijas
arturo-seijas previously approved these changes Jul 10, 2023
weiiwang01
weiiwang01 previously approved these changes Jul 10, 2023
arturo-seijas
arturo-seijas previously approved these changes Jul 10, 2023
@github-actions
Copy link
Contributor

Test coverage for 9860cd5

Name                    Stmts   Miss Branch BrPart  Cover   Missing
-------------------------------------------------------------------
src/charm.py               96     17     12      4    81%   48-50, 85->exit, 99, 117-119, 135-137, 162-165, 211-212, 214-215
src/charm_state.py         82      1     10      1    98%   25
src/charm_types.py          8      0      0      0   100%
src/constants.py            6      0      0      0   100%
src/databases.py           52     16     15      2    70%   65-83, 125, 140-141
src/exceptions.py           8      1      0      0    88%   40
src/flask_app.py           16      0      8      1    96%   48->50
src/observability.py       12      0      0      0   100%
src/secret_storage.py      35      1      6      2    93%   45->exit, 74
src/webserver.py           70      4     12      1    94%   127-133, 151
-------------------------------------------------------------------
TOTAL                     385     40     63     11    88%

Static code analysis report

Run started:2023-07-10 10:58:09.891645

Test results:
  No issues identified.

Code scanned:
  Total lines of code: 1893
  Total lines skipped (#nosec): 1
  Total potential issues skipped due to specifically being disabled (e.g., #nosec BXXX): 0

Run metrics:
  Total issues (by severity):
  	Undefined: 0
  	Low: 0
  	Medium: 0
  	High: 0
  Total issues (by confidence):
  	Undefined: 0
  	Low: 0
  	Medium: 0
  	High: 0
Files skipped (0):

@gregory-schiano gregory-schiano merged commit 9ee4deb into main Jul 10, 2023
21 checks passed
@gregory-schiano gregory-schiano deleted the pin-pydantic branch July 10, 2023 14:52
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants