InlineTemplate usage warning checks.
contracts.rules_inline
| 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
check_inline_templates
function
def check_inline_templates(router: Router, result: CheckResult) -> None
Warn when route return annotation uses InlineTemplate.
Parameters
| Name | Type | Default | Description |
|---|---|---|---|
router
|
Router
|
— | |
result
|
CheckResult
|
— |
View source · /home/runner/work/chirp/chirp/site/../src/chirp/contracts/rules_inline.py:1