plaza_routing.integration.util package¶
Submodules¶
plaza_routing.integration.util.exception_util module¶
-
exception
plaza_routing.integration.util.exception_util.ServiceError[source]¶ Bases:
ExceptionException for service failures in the integration layer.
-
exception
plaza_routing.integration.util.exception_util.ValidationError[source]¶ Bases:
ValueErrorException for validation errors. The provided exception msg will be exposed to the user.
plaza_routing.integration.util.search_ch_parser module¶
-
class
plaza_routing.integration.util.search_ch_parser.Connection(*arg, **kw)[source]¶ Bases:
colander.Schema
-
class
plaza_routing.integration.util.search_ch_parser.Connections(*args, **kw)[source]¶ Bases:
colander.SequenceSchema
-
class
plaza_routing.integration.util.search_ch_parser.Exit(*arg, **kw)[source]¶ Bases:
colander.Schema
-
class
plaza_routing.integration.util.search_ch_parser.Leg(*arg, **kw)[source]¶ Bases:
colander.Schema
-
class
plaza_routing.integration.util.search_ch_parser.LegType[source]¶ Bases:
colander.SchemaTypeSearch.ch returns walking legs (type=walk) that will be skipped with colander.drop. The leg with a missing type is either the last leg or a an address with isaddress=True (if the destination that is passed to search.ch is an address). Both are of no use and will be skipped.
-
class
plaza_routing.integration.util.search_ch_parser.Legs(*args, **kw)[source]¶ Bases:
colander.SequenceSchema
-
class
plaza_routing.integration.util.search_ch_parser.SearchChResponse(*arg, **kw)[source]¶ Bases:
colander.Schema