Skip to content

Locale

Source code in docs_src/capo_mturk/types/locale.py
class Locale(TypedDict, closed=True):
    country: "capo_mturk.types.country_parameters.CountryParameters"
    """<p> The country of the locale. Must be a valid ISO 3166 country code. For example, the code US refers to the United States of America. </p>"""
    subdivision: NotRequired["capo_mturk.types.country_parameters.CountryParameters"]
    """<p>The state or subdivision of the locale. A valid ISO 3166-2 subdivision code. For example, the code WA refers to the state of Washington.</p>"""

country instance-attribute

The country of the locale. Must be a valid ISO 3166 country code. For example, the code US refers to the United States of America.

subdivision instance-attribute

subdivision: NotRequired[CountryParameters]

The state or subdivision of the locale. A valid ISO 3166-2 subdivision code. For example, the code WA refers to the state of Washington.