mirror of
https://github.com/osm-search/Nominatim.git
synced 2026-02-26 11:08:13 +00:00
Added default min = 0 argument for private functions
empty
This commit is contained in:
@@ -88,7 +88,8 @@ class SPImporter():
|
|||||||
|
|
||||||
return db_combinations
|
return db_combinations
|
||||||
|
|
||||||
def import_phrases(self, tokenizer: AbstractTokenizer, should_replace: bool, min: int) -> None:
|
def import_phrases(self, tokenizer: AbstractTokenizer, should_replace: bool,
|
||||||
|
min: int = 0) -> None:
|
||||||
"""
|
"""
|
||||||
Iterate through all SpecialPhrases extracted from the
|
Iterate through all SpecialPhrases extracted from the
|
||||||
loader and import them into the database.
|
loader and import them into the database.
|
||||||
@@ -188,7 +189,7 @@ class SPImporter():
|
|||||||
|
|
||||||
def _create_classtype_table_and_indexes(self,
|
def _create_classtype_table_and_indexes(self,
|
||||||
class_type_pairs: Iterable[Tuple[str, str]],
|
class_type_pairs: Iterable[Tuple[str, str]],
|
||||||
min: int) -> None:
|
min: int = 0) -> None:
|
||||||
"""
|
"""
|
||||||
Create table place_classtype for each given pair.
|
Create table place_classtype for each given pair.
|
||||||
Also create indexes on place_id and centroid.
|
Also create indexes on place_id and centroid.
|
||||||
|
|||||||
Reference in New Issue
Block a user