- integrations
- Python
- ocx_sdk
PackageBinding
PackageBindingclassdataclass#
Re-exported from
ocx_sdk._resultsView sourceclass PackageBinding(name: str, package: str | None = None)A name a package provides — the row shape binaries and entrypoints share.
Attributes
| Name | Type | Description |
|---|---|---|
name | str | The binary or entrypoint name the package claims. |
package | str | None | The package that claimed it, or None when ocx could not
attribute the claim. Absent-when-unattributed (D7): env.rs:100
skips the key, and its own doc reserves None for a future
source with no clean attribution. |
nameattributeinstance attribute#
name: strpackageattributeclass attributeinstance attribute#
package: str | None = Nonerefproperty#
ref: PackageRef | NoneThe providing package, as a PackageRef, or None when unattributed.
from_dictmethodclassmethod#
def from_dict(data: Mapping[str, Any]) -> PackageBindingBuild from one decoded binaries or entrypoints entry.