Skip to content

Commit a60d397

Browse files
authored
👌 Re-allow dynamic functions for layout field (#1423)
1 parent 490603d commit a60d397

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

‎docs/dynamic_functions.rst

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,7 @@ Dynamic functions can be used for the following directive options:
2929
- ``status``
3030
- ``tags``
3131
- ``style``
32+
- ``layout``
3233
- ``constraints``
3334
- :ref:`needs_extra_options`
3435
- :ref:`needs_extra_links`

‎sphinx_needs/data.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -141,6 +141,7 @@ class CoreFieldParameters(TypedDict):
141141
"schema": {"type": ["string", "null"], "default": None},
142142
"show_in_layout": True,
143143
"allow_default": "str",
144+
"allow_df": True,
144145
"exclude_external": True,
145146
},
146147
"style": {

0 commit comments

Comments
 (0)