refactor: Remove load_from_db attribute from FIELD_FORMAT_ATTRIBUTES (#4884)
refactor: remove load_from_db attribute from template fields
This commit is contained in:
parent
ac69be2e8a
commit
f10dc27dfc
2 changed files with 0 additions and 2 deletions
|
|
@ -38,7 +38,6 @@ FIELD_FORMAT_ATTRIBUTES = [
|
||||||
"refresh_button_text",
|
"refresh_button_text",
|
||||||
"options",
|
"options",
|
||||||
"advanced",
|
"advanced",
|
||||||
"load_from_db",
|
|
||||||
]
|
]
|
||||||
|
|
||||||
ORJSON_OPTIONS = orjson.OPT_INDENT_2 | orjson.OPT_SORT_KEYS | orjson.OPT_OMIT_MICROSECONDS
|
ORJSON_OPTIONS = orjson.OPT_INDENT_2 | orjson.OPT_SORT_KEYS | orjson.OPT_OMIT_MICROSECONDS
|
||||||
|
|
|
||||||
|
|
@ -131,7 +131,6 @@ def update_projects_components_with_latest_component_versions(project_data, all_
|
||||||
and attr in node_data["template"].get(field_name)
|
and attr in node_data["template"].get(field_name)
|
||||||
# Check if it needs to be updated
|
# Check if it needs to be updated
|
||||||
and field_dict[attr] != node_data["template"][field_name][attr]
|
and field_dict[attr] != node_data["template"][field_name][attr]
|
||||||
and attr != "load_from_db"
|
|
||||||
):
|
):
|
||||||
node_changes_log[node_type].append(
|
node_changes_log[node_type].append(
|
||||||
{
|
{
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue