🔧 chore(types.py): add support for custom field value in add_new_custom_field function
🔧 chore(types.py): add support for custom field value in add_new_custom_field function to allow specifying a default value for the field
This commit is contained in:
parent
2b55b0c3b3
commit
4a0fe95093
1 changed files with 1 additions and 0 deletions
|
|
@ -98,6 +98,7 @@ def add_new_custom_field(
|
|||
display_name = field_config.pop("display_name", field_name)
|
||||
field_type = field_config.pop("field_type", field_type)
|
||||
field_type = process_type(field_type)
|
||||
field_value = field_config.pop("value", field_value)
|
||||
|
||||
if "name" in field_config:
|
||||
warnings.warn(
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue