Buckets:

download
raw
1.06 kB
# Copyright 2021-present, the Recognai S.L. team.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
import asyncio
from typing import TYPE_CHECKING, Generator
import httpx
import pytest
if TYPE_CHECKING:
pass
@pytest.fixture(scope="session")
def event_loop() -> Generator["asyncio.AbstractEventLoop", None, None]:
loop = asyncio.get_event_loop_policy().get_event_loop()
yield loop
loop.close()
@pytest.fixture(scope="function")
def mock_httpx_client(mocker) -> Generator[httpx.Client, None, None]:
return mocker.Mock(httpx.Client)

Xet Storage Details

Size:
1.06 kB
·
Xet hash:
27d0ca07b1afe7a9c1b06cabfdd1cf80bff5ab36d4b9238eace10edea554aaea

Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.