Andrew Truong

Results 13 issues of Andrew Truong

## Description - Copy mutable values to avoid instance being reused between created instances - Using hashability for as test, as done with dataclasses ## Closes

### Description Pyright emits typing errors for accessing generic instance variables through classes. Potentially related pyright issues: - https://github.com/microsoft/pyright/issues/7089 - https://github.com/microsoft/pyright/discussions/7487 ### URL to code causing the issue _No response_...

bug

### Summary Python 3.13 has been released and this should explicitly be supported. ### Basic Example _No response_ ### Drawbacks and Impact _No response_ ### Unresolved questions _No response_ ---...

enhancement

## Description ## Closes

# Summary Polyfactory v3 is coming 🚀 Any help, PRs on these appreciated and welcome ## Things to do before v3 - [x] Deprecate use of random in `FieldMeta` -...

## Description - This adds support to use `BaseModel.model_validate(..., by_name)`. This unblocks use cases where the model names are not valid python identifiers - Set to False for backwards compatibility...

### Summary - Update CI to test against 3.14 - Resolve any bugs ### Basic Example _No response_ ### Drawbacks and Impact _No response_ ### Unresolved questions _No response_

enhancement

## Description - Add caching of model field for performance improvements - No specific benchmarks added ## Closes

## Description - Handles constrained datetimes. - Note logic here is getting complex so added ignore. Will review if can merge logic of add mapping to base provider to simplify...