# local_files


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

## File Browser Router Initialization

## Add/Remove External Source Handlers

## Router

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

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

### init_local_files_router

``` python

def init_local_files_router(
    state_store:SQLiteWorkflowStateStore, # The workflow state store
    workflow_id:str, # The workflow identifier
    source_service:SourceService, # The source service for external db ops
    prefix:str, # Route prefix (e.g., "/workflow/selection/local_files")
    urls:SelectionUrls, # URL bundle for rendering
)->LocalFilesResult: # Router result with routers, routes, render, restore, and reset

```

*Initialize local files browser routes with new file browser API.*
