bump version for v0.1.2

This commit is contained in:
Chang She
2023-05-05 11:26:02 -07:00
parent 47ae17ea05
commit 59014a01e0
8 changed files with 18 additions and 16 deletions

View File

@@ -11,7 +11,7 @@
# See the License for the specific language governing permissions and
# limitations under the License.
from .db import LanceDBConnection, URI
from .db import URI, LanceDBConnection
def connect(uri: URI) -> LanceDBConnection:

View File

@@ -11,7 +11,7 @@
# See the License for the specific language governing permissions and
# limitations under the License.
from pathlib import Path
from typing import Union, List
from typing import List, Union
import numpy as np
import pandas as pd

View File

@@ -14,9 +14,10 @@
from __future__ import annotations
from pathlib import Path
import pyarrow as pa
from .common import URI, DATA
from .common import DATA, URI
from .table import LanceTable
from .util import get_uri_scheme

View File

@@ -13,14 +13,13 @@
import math
import sys
from retry import retry
from typing import Callable, Union
from lance.vector import vec_to_table
import numpy as np
import pandas as pd
import pyarrow as pa
from lance.vector import vec_to_table
from retry import retry
def with_embeddings(
@@ -68,7 +67,9 @@ class EmbeddingFunction:
if len(self.rate_limiter_kwargs) > 0:
v = int(sys.version_info.minor)
if v >= 11:
print("WARNING: rate limit only support up to 3.10, proceeding without rate limiter")
print(
"WARNING: rate limit only support up to 3.10, proceeding without rate limiter"
)
else:
import ratelimiter

View File

@@ -19,12 +19,12 @@ from functools import cached_property
import lance
import numpy as np
import pandas as pd
from lance import LanceDataset
import pyarrow as pa
from lance import LanceDataset
from lance.vector import vec_to_table
from .common import DATA, VEC, VECTOR_COLUMN_NAME
from .query import LanceQueryBuilder
from .common import DATA, VECTOR_COLUMN_NAME, VEC
def _sanitize_data(data, schema):