Source code for jivago.wsgi.routing.table.path_util
from typing import List
from jivago.lang.stream import Stream
[docs]def split_path(path: str) -> List[str]:
return Stream(path.split('/')).filter(lambda x: x != "").toList()
from typing import List
from jivago.lang.stream import Stream
[docs]def split_path(path: str) -> List[str]:
return Stream(path.split('/')).filter(lambda x: x != "").toList()