(fn: dict)
| 69 | return '—' |
| 70 | |
| 71 | def _blueprint_fn_badge(fn: dict) -> str: |
| 72 | parts = [] |
| 73 | if fn.get('is_blueprint_callable'): |
| 74 | parts.append('🔵 Callable') |
| 75 | if fn.get('is_blueprint_pure'): |
| 76 | parts.append('💎 Pure') |
| 77 | if fn.get('is_call_in_editor'): |
| 78 | parts.append('🔧 CallInEditor') |
| 79 | return ' '.join(parts) if parts else '—' |
| 80 | |
| 81 | def _type_link(type_str: str, all_class_names: set) -> str: |
| 82 | """If a type references a known class, make it a relative markdown link.""" |