Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

clean up reference and tests #13412

Merged
merged 4 commits into from
Aug 29, 2020
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
Original file line number Diff line number Diff line change
Expand Up @@ -24,13 +24,10 @@
#
# --------------------------------------------------------------------------

from ._internal import (
IndexDocumentsBatch,
SearchClient,
SearchItemPaged,
SearchIndexDocumentBatchingClient,
)
from ._internal._index_documents_batch import IndexDocumentsBatch
from ._internal._search_documents_error import RequestEntityTooLargeError
from ._internal._search_client import SearchClient, SearchItemPaged
from ._internal._search_index_document_batching_client import SearchIndexDocumentBatchingClient
from ._version import VERSION

__version__ = VERSION
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,21 +2,3 @@
# Copyright (c) Microsoft Corporation.
# Licensed under the MIT License.
# ------------------------------------
from ._index_documents_batch import IndexDocumentsBatch # pylint: disable=unused-import
from ._search_client import ( # pylint: disable=unused-import
odata,
SearchItemPaged,
SearchClient,
)
from ._queries import ( # pylint: disable=unused-import
AutocompleteQuery,
SearchQuery,
SuggestQuery,
)
from ._generated.models import ( # pylint: disable=unused-import
IndexAction,
IndexingResult,
)
from ._search_index_document_batching_client import ( # pylint: disable=unused-import
SearchIndexDocumentBatchingClient,
)
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,3 @@
# Copyright (c) Microsoft Corporation.
# Licensed under the MIT License.
# ------------------------------------
from ._search_client_async import AsyncSearchItemPaged, SearchClient
from ._search_index_document_batching_client_async import SearchIndexDocumentBatchingClient

__all__ = ("AsyncSearchItemPaged", "SearchClient", "SearchIndexDocumentBatchingClient")
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,8 @@
#
# --------------------------------------------------------------------------

from ._internal.aio import AsyncSearchItemPaged, SearchClient, SearchIndexDocumentBatchingClient

from ._internal.aio._search_client_async import AsyncSearchItemPaged, SearchClient
from ._internal.aio._search_index_document_batching_client_async import SearchIndexDocumentBatchingClient

__all__ = (
"AsyncSearchItemPaged",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,11 +24,8 @@
#
# --------------------------------------------------------------------------

from ._internal import (
SearchIndexClient,
SearchIndexerClient,
)

from ._internal._search_index_client import SearchIndexClient
from ._internal._search_indexer_client import SearchIndexerClient

__all__ = (
"SearchIndexerClient",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,3 @@
# Copyright (c) Microsoft Corporation.
# Licensed under the MIT License.
# ------------------------------------
from ._index import ( # pylint: disable=unused-import
ComplexField,
SearchField,
SearchableField,
SimpleField,
)
from ._search_index_client import SearchIndexClient # pylint: disable=unused-import
from ._search_indexer_client import SearchIndexerClient # pylint: disable=unused-import

from . import _edm as SearchFieldDataType # pylint: disable=unused-import
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,3 @@
# Copyright (c) Microsoft Corporation.
# Licensed under the MIT License.
# ------------------------------------
from ._search_indexer_client import SearchIndexerClient
from ._search_index_client import SearchIndexClient

__all__ = (
"SearchIndexerClient",
"SearchIndexClient",
)
Original file line number Diff line number Diff line change
Expand Up @@ -24,10 +24,8 @@
#
# --------------------------------------------------------------------------

from ._internal.aio import (
SearchIndexClient,
SearchIndexerClient,
)
from ._internal.aio._search_index_client import SearchIndexClient
from ._internal.aio._search_indexer_client import SearchIndexerClient

__all__ = (
"SearchIndexClient",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,13 +24,13 @@
#
# --------------------------------------------------------------------------

from .._internal import (
from .._internal._index import (
ComplexField,
SearchField,
SearchableField,
SimpleField,
SearchFieldDataType,
)
from .._internal import _edm as SearchFieldDataType
from ..._internal._generated.models import SuggestOptions
from .._internal._generated.models import (
AnalyzeResult,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,11 +24,8 @@
#
# --------------------------------------------------------------------------

from .._internal import (
IndexAction,
IndexingResult,
odata,
)
from .._internal._generated.models import IndexAction, IndexingResult
from .._internal._search_client import odata


__all__ = (
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,6 @@ interactions:
- application/json;odata.metadata=none
User-Agent:
- azsdk-python-search-documents/11.1.0b2 Python/3.8.5 (Windows-10-10.0.19041-SP0)
api-key:
- E1D169F1983E4E54285FC62A876D0CD7
method: GET
uri: https://search6dc91ab1.search.windows.net/indexes('drgqefsg')/docs/$count?api-version=2020-06-30
response:
Expand All @@ -18,13 +16,13 @@ interactions:
content-encoding: gzip
content-length: '127'
content-type: text/plain
date: Thu, 13 Aug 2020 00:48:04 GMT
elapsed-time: '86'
date: Fri, 28 Aug 2020 20:50:02 GMT
elapsed-time: '3'
expires: '-1'
odata-version: '4.0'
pragma: no-cache
preference-applied: odata.include-annotations="*"
request-id: a581c6fc-dcfe-11ea-870d-5cf37071153c
request-id: 0b58841e-e970-11ea-b85a-5cf37071153c
strict-transport-security: max-age=15724800; includeSubDomains
vary: Accept-Encoding
status:
Expand Down
Loading