cognee/cognee/api
Vasilije 12e6ad152e
fix(api): pass run_in_background parameter to memify function (#1847)
## Summary

The `run_in_background` parameter was defined in `MemifyPayloadDTO` but
was never passed to the `cognee_memify` function call, making the
parameter effectively unused.

## Changes

This fix passes the `run_in_background` parameter from the payload to
the `cognee_memify` function so users can actually run memify operations
in the background.

## Testing

- `uv run ruff check cognee/api/v1/memify/routers/get_memify_router.py`
- All checks passed
- `uv run ruff format cognee/api/v1/memify/routers/get_memify_router.py`
- No changes needed

## DCO

I affirm that all code in every commit of this pull request conforms to
the terms of the Topoteretes Developer Certificate of Origin

<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->

## Summary by CodeRabbit

* **Bug Fixes**
* Fixed background execution flag for memify operations to be properly
applied when requested. The background execution setting is now
correctly propagated through the system, ensuring operations run as
intended.

<sub>✏️ Tip: You can customize this high-level summary in your review
settings.</sub>

<!-- end of auto-generated comment: release notes by coderabbit.ai -->
2025-12-16 15:14:52 +01:00
..
v1 fix(api): pass run_in_background parameter to memify function (#1847) 2025-12-16 15:14:52 +01:00
.env.example Added Flexible CORS Configuration via Environment Variableadded flexibility to cors (#1109) 2025-07-19 20:48:52 +02:00
__init__.py chore: rename package 2024-03-13 16:08:11 +01:00
client.py merge dev 2025-11-26 11:04:11 +01:00
DTO.py ruff format 2025-01-05 19:09:08 +01:00
health.py refactor: Keep code DRY in health endpoint 2025-10-10 12:59:28 +02:00