Skip to content

Basic script to generate tableschema from model#2023

Draft
raphodn wants to merge 1 commit into
masterfrom
raphodn/question-schema
Draft

Basic script to generate tableschema from model#2023
raphodn wants to merge 1 commit into
masterfrom
raphodn/question-schema

Conversation

@raphodn

@raphodn raphodn commented Sep 30, 2025

Copy link
Copy Markdown
Member

Usage

from core.utils.tableschema import generate_schema_from_model
generate_schema_from_model(Question, exclude_fields=["validation_status", "validation_date", "created", "updated", "category_string", "tag_list", "quiz_list", "author_string", "validator_string"])

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant