add check

This commit is contained in:
LUIS NOVO 2024-11-11 17:33:28 -03:00
parent 00f070a644
commit 01cf15e7d1

View file

@ -90,6 +90,8 @@ def trigger_transformations(state: SourceState, config: RunnableConfig) -> List[
async def transform_content(state: TransformationState) -> dict:
source = state["source"]
content = source.full_text
if not content:
return None
transformation = state["transformation"]
logger.debug(f"Applying transformation {transformation['name']}")