Skip to content

Commit

Permalink
[CM-10413] change import to avoid pyright linter error
Browse files Browse the repository at this point in the history
  • Loading branch information
japdubengsub committed Jul 2, 2024
1 parent d490166 commit 6065891
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/comet_llm/api_objects/api.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@
from typing import List, Optional

import comet_ml
from comet_ml.query import QueryExpression

from .. import experiment_info, logging_messages, query_dsl
from . import llm_trace_api
Expand Down Expand Up @@ -91,7 +92,7 @@ def get_llm_trace_by_name(
return llm_trace_api.LLMTraceAPI.__api__from_api_experiment__(matching_trace[0])

def query(
self, workspace: str, project_name: str, query: comet_ml.QueryExpression
self, workspace: str, project_name: str, query: QueryExpression
) -> List[llm_trace_api.LLMTraceAPI]:
"""
Fetch LLM Trace based on a query. Currently, it is only possible to use
Expand Down

0 comments on commit 6065891

Please sign in to comment.