Skip to content

OpeningHours

Source code in docs_src/capo_geo_places/types/opening_hours.py
class OpeningHours(TypedDict, closed=True):
    display: NotRequired[
        "capo_geo_places.types.opening_hours_display_list.OpeningHoursDisplayList"
    ]
    """<p>List of opening hours in the format they are displayed in. This can vary by result and in most cases represents how the result uniquely formats their opening hours. </p>"""
    open_now: NotRequired["capo_geo_places.types.sensitive_boolean.SensitiveBoolean"]
    """<p>Boolean which indicates if the result/place is currently open. </p>"""
    components: NotRequired[
        "capo_geo_places.types.opening_hours_components_list.OpeningHoursComponentsList"
    ]
    """<p>Components of the opening hours object.</p>"""
    categories: NotRequired["capo_geo_places.types.category_list.CategoryList"]
    """<p>Categories of results that results must belong too.</p>"""

categories instance-attribute

categories: NotRequired[CategoryList]

Categories of results that results must belong too.

components instance-attribute

components: NotRequired[OpeningHoursComponentsList]

Components of the opening hours object.

display instance-attribute

display: NotRequired[OpeningHoursDisplayList]

List of opening hours in the format they are displayed in. This can vary by result and in most cases represents how the result uniquely formats their opening hours.

open_now instance-attribute

open_now: NotRequired[SensitiveBoolean]

Boolean which indicates if the result/place is currently open.