Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Empty file removed sample/vector/__init__.py
Empty file.
2 changes: 1 addition & 1 deletion tests/integration/vector/test_paginator.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# pylint: skip-file

import alibabacloud_oss_v2.vectors as oss_vectors
from tests.integration import TestIntegrationVectors, random_bucket_name, random_short_bucket_name
from .. import TestIntegrationVectors, random_short_bucket_name

class TestPaginatorBasic(TestIntegrationVectors):
def test_list_vector_buckets_paginator(self):
Expand Down
2 changes: 1 addition & 1 deletion tests/integration/vector/test_vector_basic_client.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

from ast import literal_eval
import alibabacloud_oss_v2.vectors as oss_vectors
from tests.integration import TestIntegrationVectors, random_short_bucket_name
from .. import TestIntegrationVectors, random_short_bucket_name


class TestVectorBasic(TestIntegrationVectors):
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# pylint: skip-file

import alibabacloud_oss_v2.vectors as oss_vectors
from tests.integration import TestIntegrationVectors, random_short_bucket_name, REGION, USER_ID
from .. import TestIntegrationVectors, random_short_bucket_name, REGION, USER_ID


class TestVectorBucketBasic(TestIntegrationVectors):
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

import alibabacloud_oss_v2 as oss
import alibabacloud_oss_v2.vectors as oss_vectors
from tests.integration import TestIntegrationVectors, random_short_bucket_name, random_bucket_name
from .. import TestIntegrationVectors, random_short_bucket_name, random_bucket_name


class TestVectorBucketLogging(TestIntegrationVectors):
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# pylint: skip-file
import time
import alibabacloud_oss_v2.vectors as oss_vectors
from tests.integration import TestIntegrationVectors, random_short_bucket_name
from .. import TestIntegrationVectors, random_short_bucket_name


class TestVectorBucketBasic(TestIntegrationVectors):
Expand Down
2 changes: 1 addition & 1 deletion tests/integration/vector/test_vector_index_client.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# pylint: skip-file
import alibabacloud_oss_v2.vectors as oss_vectors
from tests.integration import TestIntegrationVectors, random_short_bucket_name
from .. import TestIntegrationVectors, random_short_bucket_name


class TestVectorIndex(TestIntegrationVectors):
Expand Down
2 changes: 1 addition & 1 deletion tests/unit/vectors/models/test_index_basic.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
from alibabacloud_oss_v2.vectors.operations import _serde
from alibabacloud_oss_v2.vectors.models import index_basic as model
from alibabacloud_oss_v2.types import OperationInput, OperationOutput, CaseInsensitiveDict
from tests.unit import MockHttpResponse
from ... import MockHttpResponse


class TestPutVectorIndex(unittest.TestCase):
Expand Down
2 changes: 1 addition & 1 deletion tests/unit/vectors/models/test_vector_basic.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
from alibabacloud_oss_v2.vectors.operations import _serde
from alibabacloud_oss_v2.vectors.models import vector_basic as model
from alibabacloud_oss_v2.types import OperationInput, OperationOutput, CaseInsensitiveDict
from tests.unit import MockHttpResponse
from ... import MockHttpResponse


class TestPutVectors(unittest.TestCase):
Expand Down