Skip to content

Slot: python_type

Python type annotation as a string (e.g. str, list[int], dspy.Image).

URI: dspy:python_type

Applicable Classes

Name Description Modifies Slot
SignatureField A single typed field belonging to a ``dspy no

Properties

Type and Range

Property Value
Range String
Domain Of SignatureField

Cardinality and Requirements

Property Value

Identifier and Mapping Information

Schema Source

Mappings

Mapping Type Mapped Value
self dspy:python_type
native dspy:python_type

LinkML Source

name: python_type
description: Python type annotation as a string (e.g. ``str``, ``list[int]``, ``dspy.Image``).
from_schema: https://w3id.org/lmodel/dspy
rank: 1000
domain_of:
- SignatureField
range: string