Skip to content

Commit

Permalink
🧹 Some minor import and options cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
beverage committed Jul 19, 2024
1 parent cbe517a commit eb9636c
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/dbtest/dbtest.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
@click.option('--debug', default=False, is_flag=True)
@click.option('--debug-openai', default=False, is_flag=True)
@click.option('--debug-recovery', default=False, is_flag=True)
async def cli(debug=False, debug_asyncio=False, debug_openai=False, debug_recovery=True):
async def cli(debug=False, debug_openai=False, debug_recovery=True):

logging.basicConfig(level = logging.DEBUG if debug else logging.INFO)

Expand Down
1 change: 0 additions & 1 deletion src/dbtest/sentences/create.py
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,6 @@ async def create_random_problem(openai_client: AsyncChatGPTClient=AsyncChatGPTCl
except Exception as ex:
logging.error(traceback.format_exc())


if display:
print(problem_formatter(responses))

Expand Down
2 changes: 1 addition & 1 deletion src/dbtest/sentences/models.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
from enum import auto
import sqlalchemy
from sqlalchemy import Enum, Table, Column, Integer, String, Boolean, quoted_name
from sqlalchemy import Enum, Column, String, Boolean, quoted_name
from sqlalchemy.dialects.postgresql import ENUM as SQLAlchemyEnum

from dbtest.database.engine import async_engine
Expand Down

0 comments on commit eb9636c

Please sign in to comment.