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:
Gabriel Luiz Freitas Almeida 2024-11-28 13:21:15 -03:00 committed by GitHub
commit f10dc27dfc
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 0 additions and 2 deletions

View file

@ -38,7 +38,6 @@ FIELD_FORMAT_ATTRIBUTES = [
"refresh_button_text",
"options",
"advanced",
"load_from_db",
]
ORJSON_OPTIONS = orjson.OPT_INDENT_2 | orjson.OPT_SORT_KEYS | orjson.OPT_OMIT_MICROSECONDS

View file

@ -131,7 +131,6 @@ def update_projects_components_with_latest_component_versions(project_data, all_
and attr in node_data["template"].get(field_name)
# Check if it needs to be updated
and field_dict[attr] != node_data["template"][field_name][attr]
and attr != "load_from_db"
):
node_changes_log[node_type].append(
{