Skip to content

Commit f3b2bab

Browse files
committed
Cleanup
1 parent cfbd722 commit f3b2bab

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

pinecone/data/features/bulk_import.py

+1-4
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,5 @@
1-
import warnings
2-
31
from enum import Enum
4-
from functools import wraps
5-
from typing import Optional, Union, Literal, Iterator, List
2+
from typing import Optional, Literal, Iterator, List
63

74
from pinecone.utils.decorators import prerelease_feature
85
from pinecone.config.config import ConfigBuilder

pinecone/utils/decorators.py

+3
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,14 @@
22
from functools import wraps
33
from typing import Optional, Callable
44

5+
56
class PineconePrereleaseWarning(UserWarning):
67
pass
78

9+
810
warnings.simplefilter("once", PineconePrereleaseWarning)
911

12+
1013
def prerelease_feature(
1114
message: str = "This is a pre-release feature and may change in the future.", api_version: Optional[str] = None
1215
):

0 commit comments

Comments
 (0)