Skip to content

Commit

Permalink
Fix isort errors
Browse files Browse the repository at this point in the history
  • Loading branch information
kbakk committed Jul 3, 2021
1 parent 0c09722 commit e661d4a
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion pyzeebe/grpc_internals/channel_options.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
https://docs.camunda.io/docs/product-manuals/zeebe/deployment-guide/operations/setting-up-a-cluster/#keep-alive-intervals
"""
from typing import Dict, Any, Tuple
from typing import Any, Dict, Tuple

GRPC_CHANNEL_OPTIONS = {
"grpc.keepalive_time_ms": 45_000
Expand Down
3 changes: 2 additions & 1 deletion pyzeebe/grpc_internals/grpc_channel_utils.py
Original file line number Diff line number Diff line change
@@ -1,11 +1,12 @@
import os
from typing import Optional, Dict, Any
from typing import Any, Dict, Optional

import grpc

from pyzeebe.credentials.base_credentials import BaseCredentials
from pyzeebe.grpc_internals.channel_options import get_channel_options


def create_connection_uri(
hostname: str = None,
port: int = None,
Expand Down
5 changes: 2 additions & 3 deletions tests/unit/grpc_internals/channel_options_test.py
Original file line number Diff line number Diff line change
@@ -1,12 +1,11 @@
from copy import deepcopy
from unittest.mock import Mock, patch

import pytest
from unittest.mock import patch, Mock

from pyzeebe.grpc_internals.zeebe_adapter_base import ZeebeAdapterBase

import pyzeebe.grpc_internals.channel_options
from pyzeebe.grpc_internals.channel_options import get_channel_options
from pyzeebe.grpc_internals.zeebe_adapter_base import ZeebeAdapterBase


@pytest.fixture
Expand Down

0 comments on commit e661d4a

Please sign in to comment.