code format
This commit is contained in:
parent
dae7ee9b70
commit
8cc955c147
2 changed files with 2 additions and 3 deletions
|
|
@ -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 ###
|
||||
|
|
|
|||
|
|
@ -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 = {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue