-
Notifications
You must be signed in to change notification settings - Fork 497
Closed
Labels
bugSomething isn't working.Something isn't working.t-toolingIssues with this label are in the ownership of the tooling team.Issues with this label are in the ownership of the tooling team.
Description
After updating to Pydantic 3.12.0, when importing the AdaptivePlaywrightCrawler I get the following exception:
TypeError: cannot specify both default and default_factory
After inspecting more closely, the exception is triggered when these BaseModels are created:
Removing the three assignments stops the exception from being raised, albeit it causes these warnings to appear when they previously didn't, seems to be related to my configuration:
[crawlee._service_locator] WARN No configuration set, implicitly creating and using default Configuration.
[crawlee._service_locator] WARN No storage client set, implicitly creating and using default FileSystemStorageClient.
[crawlee._service_locator] WARN No event manager set, implicitly creating and using default LocalEventManager.
idrizp, andrebastosdias and ivanvs
Metadata
Metadata
Assignees
Labels
bugSomething isn't working.Something isn't working.t-toolingIssues with this label are in the ownership of the tooling team.Issues with this label are in the ownership of the tooling team.