cadrumo.adapters.outbound.aeat.sede.filed_data_capture_port module

Concrete Sede binding for the application filed-data acquisition port.

class SedeFiledDataCapturePort(*, certificate_secret_backend_factory, browser_session_factory, operator_scope_ports)[source]

Bases: FiledDataCapturePort

Compose authenticated Sede register and source-capture capabilities.

Parameters:
open_register(*, operation)[source]

Open one browser-backed register for the complete operation scope.

Return type:

AsyncIterator[FiledDataRegisterPort]

Parameters:

operation (str)

async discover_availability(*, operation)[source]

Read the register option lists through the application port.

Parameters:

operation (str)

async capture_source_observations(revision, *, filing_year, period, artefact_sink=None, operation)[source]

Capture registry-selected source rows in one authenticated browser.

Core types: ModeloRevision.

Return type:

tuple[FiledObservationProtocol, ...]

Parameters: