Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

🔧 Remove some internal fields from needs layout #1330

Merged
merged 1 commit into from
Oct 13, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 0 additions & 6 deletions sphinx_needs/data.py
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,6 @@ class CoreFieldParameters(TypedDict):
"delete": {
"description": "If true, the need is deleted entirely.",
"schema": {"type": "boolean", "default": False},
"show_in_layout": True,
"exclude_external": True,
"exclude_import": True,
},
Expand Down Expand Up @@ -247,25 +246,21 @@ class CoreFieldParameters(TypedDict):
"jinja_content": {
"description": "Whether the content should be pre-processed by jinja.",
"schema": {"type": "boolean", "default": False},
"show_in_layout": True,
"exclude_external": True,
},
"template": {
"description": "Template of the need.",
"schema": {"type": ["string", "null"], "default": None},
"show_in_layout": True,
"exclude_external": True,
},
"pre_template": {
"description": "Pre-template of the need.",
"schema": {"type": ["string", "null"], "default": None},
"show_in_layout": True,
"exclude_external": True,
},
"post_template": {
"description": "Post-template of the need.",
"schema": {"type": ["string", "null"], "default": None},
"show_in_layout": True,
"exclude_external": True,
},
"content": {
Expand Down Expand Up @@ -319,7 +314,6 @@ class CoreFieldParameters(TypedDict):
"constraints_error": {
"description": "An error message set if any constraint failed, and `error_message` field is set in config.",
"schema": {"type": "string", "default": ""},
"show_in_layout": True,
"exclude_external": True,
"exclude_import": True,
},
Expand Down
Loading