Skip to content

Commit

Permalink
fix(RHTAPWATCH-694): implement snapshot parsing with pydantic
Browse files Browse the repository at this point in the history
Using json.loads to parse the json required escaping all quotes.
Reimplementing with pydantic to overcome that.

Signed-off-by: Yftach Herzog <[email protected]>
  • Loading branch information
yftacherzog committed Dec 28, 2023
1 parent 3e4b003 commit 8397b15
Show file tree
Hide file tree
Showing 5 changed files with 170 additions and 377 deletions.
1 change: 1 addition & 0 deletions Pipfile
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ types-requests = "*"
odcs = {extras = ["client"], version = "*"}
appstudio-tools = {file = ".", editable = true}
pylint-pytest = "*"
pydantic = "*"

[dev-packages]
pytest = "*"
Expand Down
Loading

0 comments on commit 8397b15

Please sign in to comment.