Skip to content

Conversation

LZDXN
Copy link

@LZDXN LZDXN commented Feb 3, 2024

No description provided.


def __init__(self, name: str = "extract_s3_op") -> None:
try:
import boto3 # pylint: disable=import-outside-toplevel
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

please do not remove # pylint which is used to silence the linter error.


def __init__(self, name: str) -> None:
try:
import nbformat # pylint: disable=import-outside-toplevel
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

same

self, prompt_template: PromptTemplate, model_config: Dict[str, Any]
) -> None:
# import in class level to avoid installing openai package
from openai import OpenAI # pylint: disable=import-outside-toplevel
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

same for all the rest.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants