Skip to content

RouteMatrixTrafficOptions

Source code in docs_src/capo_geo_routes/types/route_matrix_traffic_options.py
class RouteMatrixTrafficOptions(TypedDict, closed=True):
    flow_event_threshold_override: (
        "capo_geo_routes.types.duration_seconds.DurationSeconds"
    )
    """<p>Duration for which flow traffic is considered valid. For this period, the flow traffic is used over historical traffic data. Flow traffic refers to congestion, which changes very quickly. Duration in seconds for which flow traffic event would be considered valid. While flow traffic event is valid it will be used over the historical traffic data. </p>"""
    usage: NotRequired["capo_geo_routes.types.traffic_usage.TrafficUsage"]
    """<p>Determines if traffic should be used or ignored while calculating the route.</p> <p>Default value: <code>UseTrafficData</code> </p>"""

flow_event_threshold_override instance-attribute

flow_event_threshold_override: DurationSeconds

Duration for which flow traffic is considered valid. For this period, the flow traffic is used over historical traffic data. Flow traffic refers to congestion, which changes very quickly. Duration in seconds for which flow traffic event would be considered valid. While flow traffic event is valid it will be used over the historical traffic data.

usage instance-attribute

usage: NotRequired[TrafficUsage]

Determines if traffic should be used or ignored while calculating the route.

Default value: UseTrafficData