24 lines
738 B
Python
24 lines
738 B
Python
from packages.v1.serventias.schemas.t_ato_vinculoparte_schema import (
|
|
ResponseTAtoVinculoParteSchema,
|
|
TAtoVinculoParteIndexSchema,
|
|
)
|
|
from packages.v1.serventias.services.t_ato_vinculoparte.go.t_ato_vinculoparte_index_service import (
|
|
TAtoVinculoParteIndexService,
|
|
)
|
|
|
|
|
|
class TAtoVinculoParteController:
|
|
|
|
def index(
|
|
self, ato_vinculoparte_index_schema: TAtoVinculoParteIndexSchema
|
|
) -> ResponseTAtoVinculoParteSchema:
|
|
|
|
# Importação da classe desejada
|
|
t_ato_vinculoparte_index_service = TAtoVinculoParteIndexService()
|
|
|
|
# Executa a classe importada
|
|
response = t_ato_vinculoparte_index_service.execute(
|
|
ato_vinculoparte_index_schema
|
|
)
|
|
|
|
return response
|