- integrations
- Python
- ocx_sdk
AboutInfo, Advisory
AboutInfoclassdataclass#
Re-exported from
ocx_sdk._resultsView sourceAdvisoryclassdataclass#
Re-exported from
ocx_sdk._resultsView sourceclass Advisory(kind: str, package: str, message: str, key: str | None = None)Something ocx wants the caller to know about a composed environment.
Attributes
| Name | Type | Description |
|---|---|---|
kind | str | The machine discriminator to branch on, never message. |
package | str | The package the advisory is about. |
message | str | The human rendering of the same fact. |
key | str | None | The environment variable named, or None for an advisory that
names none. Absent-when-unused (D7): env.rs:175 skips the key,
and the undeclared-binaries variant (env.rs:189) emits no key
at all, so reading it as required crashes env() outright. |
keyattributeclass attributeinstance attribute#
key: str | None = Nonekindattributeinstance attribute#
kind: strmessageattributeinstance attribute#
message: strpackageattributeinstance attribute#
package: strrefproperty#
ref: PackageRefThe package the advisory is about, as a PackageRef.