Hypermedia contract diff — compare two serialized check results.
contracts.diff
| Name | Type | Default | Description |
|---|---|---|---|
type
|
|
— | |
qualified_name
|
|
— | |
element_type
|
|
— | |
description
|
|
— | |
source_file
|
|
— | |
line_number
|
|
— | |
is_autodoc
|
|
— | |
autodoc_element
|
|
— | |
_autodoc_template
|
|
— | |
_autodoc_url_path
|
|
— | |
_autodoc_page_type
|
|
— | |
title
|
|
— | |
doc_content_hash
|
|
— |
Symbols on this page
ContractDiff
class
Added and removed contract issues between two check runs.
diff_contract_dicts
function
def diff_contract_dicts(baseline: dict[str, Any], current: dict[str, Any]) -> ContractDiff
Diff two serializedresult_to_dict() payloads.
Parameters
| Name | Type | Default | Description |
|---|---|---|---|
baseline
|
dict[str, Any]
|
— | |
current
|
dict[str, Any]
|
— |
View source · /home/runner/work/chirp/chirp/site/../src/chirp/contracts/diff.py:1