vendor_fabric.surface¶
Public connector data-surface helpers.
Module Contents¶
Functions¶
Return public connector methods that advertise Extended Data payloads. |
|
Return True when a callable belongs to the public data payload surface. |
|
Resolve a callable return annotation without failing on optional imports. |
|
Return True when an annotation includes the ExtendedData payload contract. |
Data¶
API¶
- vendor_fabric.surface.EXTENDED_PAYLOAD_TYPES = ()¶
- vendor_fabric.surface.connector_data_methods(connector_class: type[Any]) list[tuple[str, collections.abc.Callable[..., Any]]]¶
Return public connector methods that advertise Extended Data payloads.
- vendor_fabric.surface.is_connector_data_method(method: Any) bool¶
Return True when a callable belongs to the public data payload surface.
- vendor_fabric.surface.return_annotation(method: collections.abc.Callable[..., Any]) Any¶
Resolve a callable return annotation without failing on optional imports.
- vendor_fabric.surface.annotation_includes_extended_payload(annotation: Any) bool¶
Return True when an annotation includes the ExtendedData payload contract.