-
### Description
`ModelFactory.coverage()` fails on models that have `validation_alias` set
### MCVE
```python
import typing
import pydantic
from polyfactory.factories.pydantic_factory …
-
When generating a definitions from a schema, if defaults are used for dictionaries or arrays, **datamodel-code-generator** currently creates models using the `default` keyword for fields. In my opinio…
-
# Bug
I have the following model:
```python
class CompanyRelation(EmbeddedModel):
company_id: str = Field(key_name="companyId")
class Person(Model):
model_config: ClassVar = {
…
-
```
import requests
url = 'https://data.ntpc.gov.tw/api/datasets/c51d5111-c300-44c9-b4f1-4b28b9929ca2/json?size=1000'
response = requests.get(url)
print(response.text)
```
-
### Comment:
The latest version of `pydantic_factories` vendors `xeger`. As such, it's not needed as a runtime dependency anymore.
-
**Bug description**
I using ***MetaGPT ver 0.8.1*** but when use RAG with method **SimpleEngine.from_docs** have error ***ValueError: Creator not registered for key: LLMType.OLLAMA***
**…
-
### Initial Checks
- [X] I confirm that I'm using Pydantic V2
### Description
There seems to be a bug when having a non-default type as the value type for a `defaultdict`: You have to wrap the `Fie…
-
You currently cannot serialize a non-generic model with a generic model inside of it.
While `to_xml()` doesn't work, `model_dump_json()` still works, so it doesn't seem to be a inherent problem with …
-
**Is your feature request related to a problem? Please describe.**
Currently, comdb2 module provides dict and namedtuple factories. It would also be nice to provide a "class" row factory which would …
deppe updated
6 months ago
-
所要的資料如下圖: