Skip to content

Commit 389e0c6

Browse files
committed
Move common file
1 parent 9e068ba commit 389e0c6

File tree

3 files changed

+2
-5
lines changed

3 files changed

+2
-5
lines changed

databricks/sdk/common.py renamed to databricks/sdk/common_types/common.py

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,13 +5,10 @@
55

66
from __future__ import annotations
77

8-
import logging
98
import re
109
from datetime import datetime, timedelta, timezone
1110
from decimal import Decimal
1211

13-
_LOG = logging.getLogger("databricks.sdk")
14-
1512
# Python datetime library does not have nanoseconds precision. These classes below are used to work around this limitation.
1613

1714

databricks/sdk/service/_internal.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
import urllib.parse
33
from typing import Any, Callable, Dict, Generic, List, Optional, Type, TypeVar
44

5-
from databricks.sdk import common
5+
from databricks.sdk.common_types import common
66

77

88
def _from_dict(d: Dict[str, any], field: str, cls: Type) -> any:

tests/test_common.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44

55
import pytest
66

7-
from databricks.sdk.common import Duration, Timestamp
7+
from databricks.sdk.common_types.common import Duration, Timestamp
88

99

1010
@pytest.mark.parametrize(

0 commit comments

Comments
 (0)