From b26533c1220c1ab90fd691e85ef96fb6068617d4 Mon Sep 17 00:00:00 2001 From: root Date: Thu, 27 Nov 2025 09:00:35 -0300 Subject: [PATCH] =?UTF-8?q?Feat(Legis=20integracao):=20adicionando=20campo?= =?UTF-8?q?s=20da=20sess=C3=A3o=20no=20endpoint=20[AB#849]?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- sapl/api/views_sessao.py | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/sapl/api/views_sessao.py b/sapl/api/views_sessao.py index cd4c4cf9f..2cb9c1e72 100644 --- a/sapl/api/views_sessao.py +++ b/sapl/api/views_sessao.py @@ -164,6 +164,11 @@ class _SessaoPlenariaViewSet: return Response({ 'sessao': pk, + 'sessao_nome': str(sessao), + 'tipo_sessao': { + 'id': sessao.tipo_id, + 'nome': getattr(sessao.tipo, 'nome', None) + }, 'expediente': expediente_items, 'ordem_dia': ordem_items })