(
base_url: Optional[str], glob: str, websocket_url: bool = None
)
| 170 | |
| 171 | |
| 172 | def resolve_glob_to_regex_pattern( |
| 173 | base_url: Optional[str], glob: str, websocket_url: bool = None |
| 174 | ) -> str: |
| 175 | if websocket_url: |
| 176 | base_url = to_websocket_base_url(base_url) |
| 177 | glob = resolve_glob_base(base_url, glob) |
| 178 | return glob_to_regex_pattern(glob) |
| 179 | |
| 180 | |
| 181 | def to_websocket_base_url(base_url: Optional[str]) -> Optional[str]: |
no test coverage detected