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

[urlscan] Failed: pydantic:parse_raw_as has been removed in V2. #2642

Closed
brett-fitz opened this issue Sep 11, 2024 · 1 comment
Closed

[urlscan] Failed: pydantic:parse_raw_as has been removed in V2. #2642

brett-fitz opened this issue Sep 11, 2024 · 1 comment
Labels
bug use for describing something not working as expected solved use to identify issue that has been solved (must be linked to the solving PR)

Comments

@brett-fitz
Copy link
Contributor

Description

During testing, a bug was identified:

Failed: pydantic:parse_raw_as has been removed in V2. For further information visit https://errors.pydantic.dev/2.8/u/import-error
Introduced: https://github.com/OpenCTI-Platform/connectors/pull/2444/files#diff-e368303cb1c9de71c63e62c1f51aaefbf5f77e34b54cbcf179ca9f6a6ddd5a56

Solution:

  • remove import pydantic
  • import parse_raw_as from pydantic v1
@brett-fitz brett-fitz added bug use for describing something not working as expected needs triage use to identify issue needing triage from Filigran Product team labels Sep 11, 2024
brett-fitz added a commit to klaviyo/connectors that referenced this issue Sep 11, 2024
@Megafredo
Copy link
Member

Hi @brett-fitz, thanks for your feedback and PR, this solution will indeed solve the bug !

brett-fitz added a commit to klaviyo/connectors that referenced this issue Sep 12, 2024
brett-fitz added a commit to klaviyo/connectors that referenced this issue Sep 12, 2024
@Megafredo Megafredo added solved use to identify issue that has been solved (must be linked to the solving PR) and removed needs triage use to identify issue needing triage from Filigran Product team labels Sep 12, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug use for describing something not working as expected solved use to identify issue that has been solved (must be linked to the solving PR)
Projects
None yet
Development

No branches or pull requests

2 participants