Skip to content

Commit

Permalink
Remove pytest import (#556)
Browse files Browse the repository at this point in the history
* fix: remove redundant pytest import breaking qdrant-client

* refactoring: remove redundant imports
  • Loading branch information
joein committed Mar 27, 2024
1 parent 71255c2 commit 437738c
Show file tree
Hide file tree
Showing 4 changed files with 2 additions and 8 deletions.
1 change: 0 additions & 1 deletion qdrant_client/local/json_path_parser.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
from enum import Enum
from typing import List, Optional, Tuple

import pytest
from pydantic import BaseModel


Expand Down
2 changes: 1 addition & 1 deletion qdrant_client/local/order_by.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
from datetime import datetime, timezone
from datetime import datetime
from typing import Any, Optional, Union, get_args

from qdrant_client.local.datetime_utils import parse
Expand Down
6 changes: 1 addition & 5 deletions qdrant_client/local/payload_value_setter.py
Original file line number Diff line number Diff line change
@@ -1,10 +1,6 @@
from typing import Any, Dict, List, Optional, Type

from qdrant_client.local.json_path_parser import (
JsonPathItem,
JsonPathItemType,
parse_json_path,
)
from qdrant_client.local.json_path_parser import JsonPathItem, JsonPathItemType


def set_value_by_key(payload: dict, keys: List[JsonPathItem], value: Any) -> None:
Expand Down
1 change: 0 additions & 1 deletion qdrant_client/local/sparse.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
import random
from typing import List, Optional

import numpy as np
Expand Down

0 comments on commit 437738c

Please sign in to comment.