Skip to content
This repository has been archived by the owner on Jul 18, 2024. It is now read-only.

Is there a function for create schema from model? #55

Open
jet10000 opened this issue Apr 14, 2022 · 1 comment
Open

Is there a function for create schema from model? #55

jet10000 opened this issue Apr 14, 2022 · 1 comment
Labels
enhancement New feature or request

Comments

@jet10000
Copy link

for example:

utils.create_schema(User)
@jordaneremieff
Copy link
Owner

Hi @jet10000,

Not currently, but this is something that could be added if someone was interested in doing a PR. I imagine it would mostly be a matter of creating a method that accepts similar inputs to the model class config.

@jordaneremieff jordaneremieff added the enhancement New feature or request label Jun 18, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants