refactor: Rename post_code_validation method to post_code_processing
The post_code_validation method in the Component class has been renamed to post_code_processing to better reflect its purpose. This change improves code clarity and maintainability.
This commit is contained in:
parent
69b756c35b
commit
a9040a4b4e
2 changed files with 2 additions and 2 deletions
|
|
@ -467,7 +467,7 @@ async def custom_component(
|
||||||
|
|
||||||
built_frontend_node, component_instance = build_custom_component_template(component, user_id=user.id)
|
built_frontend_node, component_instance = build_custom_component_template(component, user_id=user.id)
|
||||||
|
|
||||||
built_frontend_node = component_instance.post_code_validation(built_frontend_node, raw_code.frontend_node)
|
built_frontend_node = component_instance.post_code_processing(built_frontend_node, raw_code.frontend_node)
|
||||||
return built_frontend_node
|
return built_frontend_node
|
||||||
|
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -226,7 +226,7 @@ class Component(CustomComponent):
|
||||||
def build(self, **kwargs):
|
def build(self, **kwargs):
|
||||||
self.set_attributes(kwargs)
|
self.set_attributes(kwargs)
|
||||||
|
|
||||||
def post_code_validation(self, new_build_config: dict, current_build_config: dict):
|
def post_code_processing(self, new_build_config: dict, current_build_config: dict):
|
||||||
"""
|
"""
|
||||||
This function is called after the code validation is done.
|
This function is called after the code validation is done.
|
||||||
"""
|
"""
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue