personal memory agent
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

formatting

+6 -2
+3 -1
apps/speakers/routes.py
··· 581 581 582 582 # Load ALL journal entities for dropdown, principal (self) first 583 583 journal_entities = load_all_journal_entities() 584 - principal = next((e for e in journal_entities.values() if e.get("is_principal")), None) 584 + principal = next( 585 + (e for e in journal_entities.values() if e.get("is_principal")), None 586 + ) 585 587 principal_name = principal.get("name") if principal else None 586 588 587 589 all_entity_names = []
+3 -1
apps/speakers/tests/test_routes.py
··· 516 516 app.register_blueprint(speakers_bp) 517 517 518 518 with app.test_client() as client: 519 - response = client.get("/app/speakers/api/sentences/20240101/143022_300/mic_audio") 519 + response = client.get( 520 + "/app/speakers/api/sentences/20240101/143022_300/mic_audio" 521 + ) 520 522 assert response.status_code == 200 521 523 data = response.get_json() 522 524