Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Code refinements (unable to import errors) #364

Open
kshitiz305 opened this issue Oct 24, 2023 · 1 comment · May be fixed by #365
Open

Code refinements (unable to import errors) #364

kshitiz305 opened this issue Oct 24, 2023 · 1 comment · May be fixed by #365
Labels
bug Something isn't working

Comments

@kshitiz305
Copy link

kshitiz305 commented Oct 24, 2023

Unreachable code due to import issue

except:
    from bothandler import (
        question_split,
        tool_picker,
        memory_check,
        replace_variables_for_values,
    )

try:
    from .utils import *
except:
    from utils import * 
@kshitiz305 kshitiz305 linked a pull request Oct 24, 2023 that will close this issue
@VictorOdede VictorOdede added the bug Something isn't working label Oct 31, 2023
@lucylililiwang
Copy link

maybe Use explicit import statements and handle import errors gracefully using conditional logic.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants