Pydantic2graphene

Latest version: v0.5.1

Safety actively analyzes 687918 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 2 of 2

0.2.1

Fixing pypi `install_requires`

0.2

1) Supporting more pydantic fields.
2) Restructuring the project.
3) Automate Pypi publishing.

0.1

First version of `pydantic2graphene` that includes some easy way of converting `pydantic` to `graphene` objects.

py
import pydantic
import pydantic2graphene

class User(pydantic.BaseModel):
email: str
active: bool = False

UserGql = pydantic2graphene.to_graphene(User)

Page 2 of 2

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.