mirror of
https://github.com/osm-search/Nominatim.git
synced 2024-11-22 21:28:10 +03:00
13 lines
233 B
Python
13 lines
233 B
Python
import sys
|
|
import os
|
|
from pathlib import Path
|
|
|
|
sys.path.append(str(Path(__file__, '..', '..', 'src').resolve()))
|
|
|
|
from nominatim_db.cli import get_set_parser
|
|
|
|
def get_parser():
|
|
parser = get_set_parser()
|
|
|
|
return parser.parser
|