Functions
render_check_text
1
str
▼
Render compatibility text in the collector's deterministic event order.
render_check_text
1
str
▼
def render_check_text(result: CheckResult) -> str
Parameters
| Name | Type | Description |
|---|---|---|
result |
CheckResult |
Returns
str
diagnostic_to_dict
1
dict[str, object]
▼
Return the versioned JSON fact shape for one diagnostic.
diagnostic_to_dict
1
dict[str, object]
▼
def diagnostic_to_dict(diagnostic: Diagnostic) -> dict[str, object]
Parameters
| Name | Type | Description |
|---|---|---|
diagnostic |
Diagnostic |
Returns
dict[str, object]
check_json_payload
1
dict[str, object]
▼
Return the diagnostics JSON v1 envelope.
check_json_payload
1
dict[str, object]
▼
def check_json_payload(result: CheckResult) -> dict[str, object]
Parameters
| Name | Type | Description |
|---|---|---|
result |
CheckResult |
Returns
dict[str, object]
render_check_json
1
str
▼
Render the diagnostics JSON v1 envelope.
render_check_json
1
str
▼
def render_check_json(result: CheckResult) -> str
Parameters
| Name | Type | Description |
|---|---|---|
result |
CheckResult |
Returns
str
check_sarif_payload
1
dict[str, object]
▼
Return a SARIF 2.1.0 log for the canonical diagnostic collection.
check_sarif_payload
1
dict[str, object]
▼
def check_sarif_payload(result: CheckResult) -> dict[str, object]
Parameters
| Name | Type | Description |
|---|---|---|
result |
CheckResult |
Returns
dict[str, object]
render_check_sarif
1
str
▼
Render the canonical collection as SARIF 2.1.0 JSON.
render_check_sarif
1
str
▼
def render_check_sarif(result: CheckResult) -> str
Parameters
| Name | Type | Description |
|---|---|---|
result |
CheckResult |
Returns
str