Skip to content

Commit

Permalink
Cleanup unused functions
Browse files Browse the repository at this point in the history
  • Loading branch information
jhodges10 committed May 23, 2024
1 parent ec3d25d commit cfdda3d
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 14 deletions.
5 changes: 1 addition & 4 deletions frameioclient/lib/service.py
Original file line number Diff line number Diff line change
@@ -1,14 +1,11 @@
from ..client import FrameioClient
from ..lib.bandwidth import NetworkBandwidth


class Service(object):
def __init__(self, client: FrameioClient):
self.client = client
self.concurrency = 10
self.bandwidth = NetworkBandwidth()

# Auto-configure afterwards
# Run auto-configure afterwards
self.autoconfigure()

def autoconfigure(self):
Expand Down
8 changes: 0 additions & 8 deletions frameioclient/lib/transfer.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@

logger = SDKLogger("downloads")

from .bandwidth import DiskBandwidth, NetworkBandwidth
from .exceptions import (
AssetNotFullyUploaded,
DownloadException,
Expand Down Expand Up @@ -247,13 +246,6 @@ def _optimize_concurrency(self):
AWSClient._optimize_concurrency()
"""

net_stats = NetworkBandwidth
disk_stats = DiskBandwidth

# Algorithm ensues
#
#

return 5

def _get_byte_range(
Expand Down
2 changes: 0 additions & 2 deletions scripts/benchmark/download.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,6 @@
from utils import timefunc
import frameioclient

from frameioclient.lib.bandwidth import NetworkBandwidth


def download(
asset_id: str = "",
Expand Down

0 comments on commit cfdda3d

Please sign in to comment.