Skip to content

Commit

Permalink
chore: removes some unsupported client apis
Browse files Browse the repository at this point in the history
  • Loading branch information
YaswanthKumar-eng committed Sep 20, 2024
1 parent ecde2f4 commit 3048dff
Show file tree
Hide file tree
Showing 9 changed files with 6 additions and 1,126 deletions.
3 changes: 0 additions & 3 deletions rapyuta_io/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,6 @@
from .rio_client import Client
from .clients.package import ROSDistro
from .clients.device_manager import DeviceArch
from .clients.build import Build, BuildStatus, StrategyType, SimulationOptions, CatkinOption, \
BuildOptions
from .clients.buildoperation import BuildOperation, BuildOperationInfo
from .clients.project import Project
from .clients.secret import Secret, SecretConfigDocker
from .clients.rosbag import UploadOptions
Expand Down
2 changes: 0 additions & 2 deletions rapyuta_io/clients/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,5 @@
from .provision_client import ProvisionClient
from .paramserver import _ParamserverClient
from .package import ROSDistro
from .build import Build, BuildStatus, StrategyType, SimulationOptions, CatkinOption, BuildOptions
from .buildoperation import BuildOperation, BuildOperationInfo
from .device import Device
from .user_group import UserGroup
603 changes: 0 additions & 603 deletions rapyuta_io/clients/build.py

This file was deleted.

64 changes: 0 additions & 64 deletions rapyuta_io/clients/buildoperation.py

This file was deleted.

7 changes: 0 additions & 7 deletions rapyuta_io/clients/deployment.py
Original file line number Diff line number Diff line change
Expand Up @@ -294,10 +294,3 @@ def poll_deployment_till_ready(self, retry_count=DEPLOYMENT_STATUS_RETRY_COUNT,
"""
return _poll_till_ready(self, retry_count, sleep_interval, ready_phases)

def get_component_instance_id(self, component_name):
for component_info in self.componentInfo:
component_instance_id = component_info.get('componentInstanceID')
if component_info.get('name') == component_name:
return component_instance_id
return None
44 changes: 0 additions & 44 deletions rapyuta_io/clients/validation_schema.py

This file was deleted.

2 changes: 0 additions & 2 deletions rapyuta_io/rio_client.py
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,6 @@ def set_project(self, project_guid):
>>> client = Client(auth_token='auth_token', project='project_guid')
>>> project = client.create_project(Project('secret-guid'))
>>> client.set_project(project.guid)
>>> persistent_volume = client.get_persistent_volume()
"""
self._catalog_client.set_project(project_guid)
Expand Down Expand Up @@ -399,7 +398,6 @@ def create_rosbag_job(self, rosbag_job):
>>> from rapyuta_io.clients.rosbag import ROSBagJob, ROSBagOptions
>>> client = Client(auth_token='auth_token', project='project_guid')
>>> deployment = client.get_deployment('deployment_id')
>>> component_instance_id = deployment.get_component_instance_id('comp-name')
>>> rosbag_options = ROSBagOptions(all_topics=True)
>>> rosbag_job = ROSBagJob(deployment_id=deployment.deploymentId,
... component_instance_id=component_instance_id,
Expand Down
Loading

0 comments on commit 3048dff

Please sign in to comment.