From 6b8bdfc3df4829d6af319ac3d869ff5061feed0a Mon Sep 17 00:00:00 2001 From: Ravi Theja Date: Fri, 29 Nov 2024 21:49:15 +0530 Subject: [PATCH] linting --- examples/llamacloud/google_drive/README.md | 2 +- examples/llamacloud/google_drive/src/workflow.py | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/examples/llamacloud/google_drive/README.md b/examples/llamacloud/google_drive/README.md index 67faa86f..35afe057 100644 --- a/examples/llamacloud/google_drive/README.md +++ b/examples/llamacloud/google_drive/README.md @@ -146,4 +146,4 @@ with this deployment: $ llamactl run --deployment LlamaCloud_LlamaDeploy_GoogleDrive --arg query '' ``` -This will return a dictionary of query and response. \ No newline at end of file +This will return a dictionary of query and response. diff --git a/examples/llamacloud/google_drive/src/workflow.py b/examples/llamacloud/google_drive/src/workflow.py index 9346e807..c60e0dd3 100644 --- a/examples/llamacloud/google_drive/src/workflow.py +++ b/examples/llamacloud/google_drive/src/workflow.py @@ -4,7 +4,7 @@ from dataclasses import dataclass import nest_asyncio -from llama_index.core.workflow import Workflow, StartEvent, StopEvent, Event, step +from llama_index.core.workflow import Workflow, StartEvent, StopEvent, step from llama_index.indices.managed.llama_cloud import LlamaCloudIndex # Apply nest_asyncio at the start @@ -36,6 +36,7 @@ def from_yaml(cls, config_path: str = "src/config.yml") -> "LlamaCloudConfig": organization_id=llamacloud_config.get("organization_id"), ) + class LlamaCloudQueryWorkflow(Workflow): """Workflow for creating and querying a LlamaCloud index"""