Skip to content

Commit 23d5e26

Browse files
docs: update llms.txt files
Generated by GitHub Actions
1 parent 6e7c69a commit 23d5e26

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

docs/llms-full.txt

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28917,6 +28917,11 @@ pip install 'datamodel-code-generator[http]'
2891728917

2891828918
When the `output` parameter is omitted (or set to `None`), `generate()` returns the generated code directly as a string:
2891928919

28920+
!!! note
28921+
`GenerateConfig` is only available in Pydantic v2 environments.
28922+
For Pydantic v1, use `from datamodel_code_generator.config import GenerateConfig`
28923+
and call `update_forward_refs()` before use.
28924+
2892028925
```python
2892128926
from datamodel_code_generator import InputFileType, generate, GenerateConfig, DataModelType
2892228927

0 commit comments

Comments
 (0)