# init


<!-- WARNING: THIS FILE WAS AUTOGENERATED! DO NOT EDIT! -->

## Router Assembly

------------------------------------------------------------------------

<a
href="https://github.com/cj-mills/cjm-transcript-source-select/blob/main/cjm_transcript_source_select/routes/init.py#L30"
target="_blank" style="float:right; font-size:smaller">source</a>

### init_selection_routers

``` python

def init_selection_routers(
    state_store:SQLiteWorkflowStateStore, # The workflow state store
    source_service:SourceService, # The source service for queries
    workflow_id:str, # The workflow identifier
    prefix:str, # Base prefix for selection routes (e.g., "/workflow/selection")
)->SelectionResult: # Selection router result with routers, urls, routes, and restore

```

*Initialize and return all selection routers with URL bundle.*
