Generated connector contract
Generated connector clients are committed artifacts produced by the BPM
CodefulSdkGenerator. Do not hand-edit generated files under src/azure/connectors/.
Async-only output
One Python generation request emits one root module for every connector:
Each module must come from the recorded generator revision and connector contract. There is no synchronous mirror or separate aio catalog.
Public invariants
- Root operations are asynchronous except that pageable methods construct and return their pager without being awaited.
- Clients expose unsuffixed operation names and keyword-only optional parameters and request controls.
- Read-collection operations return
AsyncItemPaged. This includes bounded read collections without a continuation-link contract. Arrays returned by mutations and other actions remain eager operation payloads. - Dataclasses, type aliases, enums, and
TRIGGER_OPERATIONSare declared in the root connector module alongside the async client. - Swagger-required dataclass properties are required constructor arguments;
only optional properties default to
None. - Each module defines an explicit
__all__. - Generated clients are available from their connector modules and as lazy
package-root exports. The generated registry and
.pyifiles keep runtime discovery and static typing synchronized without eagerly importing every connector module. - Retained operations with an HTTP 202
Locationresponse contract usebegin_*and returnAsyncLROPoller[T]after awaiting the call. LRO classification takes precedence over paging, and bare HTTP 202 responses remain ordinary. ConnectorExceptionderives from Azure CoreHttpResponseErrorwhile retaining connector operation, path, status, and response-body details.
Paging must preserve validation, connector error behavior, empty pages, continuation links, request controls, and response hooks on every request. Service links and caller-provided continuation tokens pass through the same URL resolver. Links from a different origin are rebased onto the connection runtime origin before the next request.
The shipped catalog contains exactly 44 LRO methods: 5 in Kusto and 39 in Plumsail. Internal Kusto retrieval helpers and superseded Plumsail revisions remain filtered by the existing operation-retention rules.
Regeneration evidence
Source Swagger files used during generation are not committed to this
repository. Record the exact generator commit and source metadata in the pull
request, then use the live-metadata workflow in GENERATION.md to refresh the
complete 101-connector async catalog. Review source metadata changes and generated output
together before committing regenerated clients.
Before submission, verify the root catalog inventory, compile every generated module, run connector and runtime tests, validate all 101 async samples, build the documentation, and inspect the wheel and source distribution inventories.