text: Title: Bug(CI): Updated lockfile changes type checking CI causing failures
  Body: ### Description
  
  https://github.com/litestar-org/polyfactory/actions/runs/8928572773/job/24524431663
  
  ```
  mypy.....................................................................Failed
  - hook id: mypy
  - exit code: 1
  
  polyfactory/value_generators/constrained_dates.py:41: error: Redundant cast to "date"  [redundant-cast]
  polyfactory/factories/base.py:508: error: Argument 1 to "UUID" has incompatible type "bytes | str | UUID"; expected "str | None"  [arg-type]
  tests/test_random_configuration.py:68: error: Redundant cast to "int"  [redundant-cast]
  polyfactory/factories/pydantic_factory.py:546: error: Incompatible return value type (got "dict[Any, object]", expected "dict[Any, Callable[[], Any]]")  [return-value]
  tests/test_recursive_models.py:56: error: Non-overlapping identity check (left operand type: "PydanticNode", right operand type: "type[_Sentinel]")  [comparison-overlap]
  docs/examples/decorators/test_example_1.py:19: error: Returning Any from function declared to return "datetime"  [no-any-return]
  docs/examples/decorators/test_example_1.py:19: error: Redundant cast to "timedelta"  [redundant-cast]
  polyfactory/factories/beanie_odm_factory.py:32: error: Unused "type: ignore" comment  [unused-ignore]
  Found 8 errors in 7 files (checked 129 source files)
  
  ```
  
  ### URL to code causing the issue
  
  _No response_
  
  ### MCVE
  
  _No response_
  
  ### Steps to reproduce
  
  _No response_
  
  ### Screenshots
  
  _No response_
  
  ### Logs
  
  _No response_
  
  ### Release Version
  
  CI
  
  ### Platform
  
  - [ ] Linux
  - [ ] Mac
  - [ ] Windows
  - [X] Other (Please specify in the description above)