2024-08-23 16:22:29 +02:00
# coding: utf-8
"""
Codex API
List of endpoints and interfaces available to Codex API users
The version of the OpenAPI document : 0.0 .1
Generated by OpenAPI Generator ( https : / / openapi - generator . tech )
Do not edit the class manually .
""" # noqa: E501
import unittest
2024-12-18 14:37:13 +01:00
from codex_api_client . api . data_api import DataApi
2024-08-23 16:22:29 +02:00
class TestDataApi ( unittest . TestCase ) :
""" DataApi unit test stubs """
def setUp ( self ) - > None :
self . api = DataApi ( )
def tearDown ( self ) - > None :
pass
def test_download_local ( self ) - > None :
""" Test case for download_local
Download a file from the local node in a streaming manner . If the file is not available locally , a 404 is returned .
"""
pass
def test_download_network ( self ) - > None :
""" Test case for download_network
2024-12-18 14:37:13 +01:00
Download a file from the network to the local node if it ' s not available locally. Note: Download is performed async. Call can return before download is completed.
"""
pass
def test_download_network_manifest ( self ) - > None :
""" Test case for download_network_manifest
Download only the dataset manifest from the network to the local node if it ' s not available locally.
"""
pass
def test_download_network_stream ( self ) - > None :
""" Test case for download_network_stream
2024-08-23 16:22:29 +02:00
Download a file from the network in a streaming manner . If the file is not available locally , it will be retrieved from other nodes in the network if able .
"""
pass
def test_list_data ( self ) - > None :
""" Test case for list_data
Lists manifest CIDs stored locally in node .
"""
pass
def test_space ( self ) - > None :
""" Test case for space
Gets a summary of the storage space allocation of the node .
"""
pass
def test_upload ( self ) - > None :
""" Test case for upload
Upload a file in a streaming manner . Once finished , the file is stored in the node and can be retrieved by any node in the network using the returned CID .
"""
pass
if __name__ == ' __main__ ' :
unittest . main ( )