Skip to content

Commit

Permalink
chore: remove unused logger instance
Browse files Browse the repository at this point in the history
  • Loading branch information
alexgarel committed Oct 23, 2024
1 parent 0b6084f commit 7ad0369
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions app/indexing.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
import abc
import datetime
import logging
import re
from typing import Iterable

Expand All @@ -24,8 +23,6 @@
number_of_fields,
)

log = logging.getLogger(__name__)

FIELD_TYPE_TO_DSL_TYPE = {
FieldType.keyword: dsl_field.Keyword,
FieldType.date: dsl_field.Date,
Expand Down Expand Up @@ -53,7 +50,7 @@ def generate_dsl_field(
:param field: the field to use as input
:param supported_langs: an iterable of languages (2-letter codes),
used to know which sub-fields to create for `text_lang`
used to know which sub-fields to create for `text_lang`
and `taxonomy` field types
:return: the elasticsearch_dsl field
"""
Expand Down

0 comments on commit 7ad0369

Please sign in to comment.