Skip to content

Commit ec6f086

Browse files
committed
docs: apply ruff
1 parent ab5d4ae commit ec6f086

File tree

3 files changed

+1
-8
lines changed

3 files changed

+1
-8
lines changed

data_utils/datahub_source.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
import datahub.emitter.mce_builder as builder
2-
from datahub.emitter.mcp import MetadataChangeProposalWrapper
31
from datahub.metadata.schema_classes import DatasetPropertiesClass, SchemaMetadataClass
42
from datahub.emitter.rest_emitter import DatahubRestEmitter
53
from datahub.ingestion.graph.client import DatahubClientConfig, DataHubGraph

llm_utils/chains.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,10 @@
11
import os
2-
from langchain_core.prompts import ChatPromptTemplate, MessagesPlaceholder, load_prompt, SystemMessagePromptTemplate
2+
from langchain_core.prompts import ChatPromptTemplate, MessagesPlaceholder, SystemMessagePromptTemplate
33

44
from .llm_factory import get_llm
55

66
from dotenv import load_dotenv
77
from prompt.template_loader import get_prompt_template
8-
import yaml
98

109
env_path = os.path.join(os.getcwd(), ".env")
1110

prompt/template_loader.py

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,5 @@
11
import os
2-
import re
3-
from datetime import datetime
42

5-
from langchain_core.prompts import PromptTemplate
6-
from langgraph.prebuilt.chat_agent_executor import AgentState
73

84

95
def get_prompt_template(prompt_name: str) -> str:

0 commit comments

Comments
 (0)