Skip to content

Supercharge your AI agents with data from the web and beyond. Building the library for superintelligence. 🔥

fix(python-sdk): suppress Pydantic shadow warnings for MonitorPageDiff/Snapshot (#3694)

Adit Jain52f95e7114ad
diff --git a/apps/python-sdk/firecrawl/v2/types.py b/apps/python-sdk/firecrawl/v2/types.py
index 763528513..816ea8f7c 100644
--- a/apps/python-sdk/firecrawl/v2/types.py
+++ b/apps/python-sdk/firecrawl/v2/types.py
@@ -39,6 +39,14 @@ warnings.filterwarnings(
"ignore",
message='Field name "json" in "Document" shadows an attribute in parent "BaseModel"',
)
+warnings.filterwarnings(
+ "ignore",
+ message='Field name "json" in "MonitorPageDiff" shadows an attribute in parent "BaseModel"',
+)
+warnings.filterwarnings(
+ "ignore",
+ message='Field name "json" in "MonitorPageSnapshot" shadows an attribute in parent "BaseModel"',
+)
T = TypeVar("T")