Skip to content

Competitor

Source code in docs_src/capo_elementalinference/types/competitor.py
class Competitor(TypedDict, closed=True):
    name: NotRequired["str"]
    """<p>The name of the competitor, as provided by the data source.</p>"""
    is_home: NotRequired["bool"]
    """<p>Specifies whether this competitor is the home side in the fixture. If true, this competitor is the home side. If false, this competitor is the away side. </p>"""

is_home instance-attribute

is_home: NotRequired[bool]

Specifies whether this competitor is the home side in the fixture. If true, this competitor is the home side. If false, this competitor is the away side.

name instance-attribute

name: NotRequired[str]

The name of the competitor, as provided by the data source.