chore: cleanup pycodestyle E rules (#8269)

This commit is contained in:
Bowen Liang
2024-09-11 18:55:00 +08:00
committed by GitHub
parent f515af2232
commit 781d294f49
14 changed files with 25 additions and 24 deletions

View File

@@ -24,6 +24,7 @@ def upgrade():
with op.batch_alter_table('tool_workflow_providers', schema=None) as batch_op:
batch_op.add_column(sa.Column('label', sa.String(length=255), server_default='', nullable=False))
def downgrade():
with op.batch_alter_table('tool_workflow_providers', schema=None) as batch_op:
batch_op.drop_column('label')

View File

@@ -21,6 +21,7 @@ def upgrade():
with op.batch_alter_table('tool_workflow_providers', schema=None) as batch_op:
batch_op.add_column(sa.Column('version', sa.String(length=255), server_default='', nullable=False))
def downgrade():
with op.batch_alter_table('tool_workflow_providers', schema=None) as batch_op:
batch_op.drop_column('version')

View File

@@ -99,7 +99,7 @@ def upgrade():
id=id,
tenant_id=tenant_id,
user_id=user_id,
provider='google',
provider='google',
encrypted_credentials=encrypted_credentials,
created_at=created_at,
updated_at=updated_at