Skip to content

Commit

Permalink
🔧 Remove some internal fields from needs layout (#1330)
Browse files Browse the repository at this point in the history
It should not be necessary to ever show these fields to users on the rendered need
  • Loading branch information
chrisjsewell authored Oct 13, 2024
1 parent f59bcd6 commit b5ac8ff
Showing 1 changed file with 0 additions and 6 deletions.
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

0 comments on commit b5ac8ff

Please sign in to comment.