code format

This commit is contained in:
anovazzi1 2023-10-18 20:10:51 -03:00
commit 8cc955c147
2 changed files with 2 additions and 3 deletions

View file

@ -31,7 +31,7 @@ def upgrade() -> None:
"store_api_key", sqlmodel.sql.sqltypes.AutoString(), nullable=True
)
)
except Exception as exc:
except Exception:
pass
# ### end Alembic commands ###
@ -44,6 +44,6 @@ def downgrade() -> None:
with op.batch_alter_table("flow", schema=None) as batch_op:
batch_op.drop_column("is_component")
except Exception as exc:
except Exception:
pass
# ### end Alembic commands ###

View file

@ -10,7 +10,6 @@ from langflow.services.deps import get_store_service
def test_search_components(mock_httpx: Mock, client):
# Mock the response from the HTTP GET request
from langflow.services.store.schema import ComponentResponse
from langflow.services.store.service import StoreService
mock_response = Mock()
mock_response.json.return_value = {