Skip to content

RouteTransitTravelStep

Source code in docs_src/capo_geo_routes/types/route_transit_travel_step.py
class RouteTransitTravelStep(TypedDict, closed=True):
    distance: NotRequired["capo_geo_routes.types.distance_meters.DistanceMeters"]
    """<p>Distance of the step.</p> <p> <b>Unit</b>: <code>meters</code> </p>"""
    duration: "capo_geo_routes.types.duration_seconds.DurationSeconds"
    """<p>Duration of the step.</p> <p> <b>Unit</b>: <code>seconds</code> </p>"""
    geometry_offset: NotRequired["int"]
    """<p>Offset in the leg geometry corresponding to the start of this step.</p>"""
    instruction: NotRequired["capo_geo_routes.types.sensitive_string.SensitiveString"]
    """<p>Brief description of the step in the requested language.</p>"""
    type: "capo_geo_routes.types.route_transit_travel_step_type.RouteTransitTravelStepType"
    """<p>Type of the step.</p>"""

distance instance-attribute

distance: NotRequired[DistanceMeters]

Distance of the step.

Unit: meters

duration instance-attribute

duration: DurationSeconds

Duration of the step.

Unit: seconds

geometry_offset instance-attribute

geometry_offset: NotRequired[int]

Offset in the leg geometry corresponding to the start of this step.

instruction instance-attribute

instruction: NotRequired[SensitiveString]

Brief description of the step in the requested language.

type instance-attribute

Type of the step.