Skip to content

Commit

Permalink
code check
Browse files Browse the repository at this point in the history
  • Loading branch information
teehamaral committed Jun 25, 2024
1 parent 5c18eeb commit b1e4b13
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 9 deletions.
2 changes: 1 addition & 1 deletion temba/api/v2/views.py
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,7 @@
from ...links.models import Link, LinkContacts
from ...orgs.models import DEFAULT_FIELDS_PAYLOAD_LOOKUPS, DEFAULT_INDEXES_FIELDS_PAYLOAD_LOOKUPS, LOOKUPS
from ...utils.gsm7 import replace_accented_chars
from ...utils.legacy import dates
from ..models import SSLPermission
from ..support import InvalidQueryError, csv_response_wrapper
from .serializers import (
Expand Down Expand Up @@ -114,7 +115,6 @@
WorkspaceReadSerializer,
)
from .validators import is_uuid_valid
from ...utils.legacy import dates


class RootView(views.APIView):
Expand Down
8 changes: 4 additions & 4 deletions temba/classifiers/models.py
Original file line number Diff line number Diff line change
@@ -1,13 +1,14 @@
import logging
import os
import pandas as pd
from abc import ABCMeta

from django.conf import settings
from django.core.files.base import ContentFile
import pandas as pd
from jellyfish import jaro_similarity
from smartmin.models import SmartModel

from django.conf import settings
from django.core.files.base import ContentFile
from django.core.files.storage import default_storage as storage
from django.db import models
from django.template import Engine
from django.urls import re_path, reverse
Expand All @@ -19,7 +20,6 @@
from temba.utils.email import send_template_email
from temba.utils.models import JSONField, TembaModel
from temba.utils.uuid import uuid4
from django.core.files.storage import default_storage as storage

logger = logging.getLogger(__name__)

Expand Down
4 changes: 2 additions & 2 deletions temba/flows/views.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@
import iso8601
import regex
import requests
from django.utils import timezone
from django_redis import get_redis_connection
from packaging.version import Version
from simplejson import JSONDecodeError
Expand All @@ -30,6 +29,7 @@
from django.http import Http404, HttpResponse, HttpResponseRedirect, JsonResponse
from django.shortcuts import get_object_or_404
from django.urls import reverse
from django.utils import timezone
from django.utils.encoding import force_str
from django.utils.functional import cached_property
from django.utils.text import slugify
Expand Down Expand Up @@ -72,7 +72,7 @@
OrgPermsMixin,
)
from temba.triggers.models import Trigger
from temba.utils import analytics, gettext, json, languages, on_transaction_commit, str_to_bool, build_flow_parameters
from temba.utils import analytics, build_flow_parameters, gettext, json, languages, on_transaction_commit, str_to_bool
from temba.utils.fields import (
CheckboxWidget,
CompletionTextarea,
Expand Down
4 changes: 2 additions & 2 deletions temba/utils/tests.py
Original file line number Diff line number Diff line change
Expand Up @@ -32,10 +32,10 @@
from .cache import get_cacheable_result, incrby_existing
from .celery import nonoverlapping_task
from .dates import date_range, datetime_to_str, datetime_to_timestamp, timestamp_to_datetime
from .email import is_valid_address, send_simple_email, send_email_with_attachments
from .email import is_valid_address, send_email_with_attachments, send_simple_email
from .export import TableExporter
from .fields import NameValidator, validate_external_url
from .gsm7 import is_gsm7, replace_non_gsm7_accents, calculate_num_segments, replace_accented_chars
from .gsm7 import calculate_num_segments, is_gsm7, replace_accented_chars, replace_non_gsm7_accents
from .http import http_headers
from .locks import LockNotAcquiredException, NonBlockingLock
from .models import patch_queryset_count
Expand Down

0 comments on commit b1e4b13

Please sign in to comment.