Skip to content

Commit a361075

Browse files
authored
Unify asset and ddo, common folder refactoring (#534)
* Unify Asset and DDO classes. * Move services and delete ddo folder from common. * Reorganise and remove more stuff from common.
1 parent 5dc7d38 commit a361075

35 files changed

Lines changed: 572 additions & 732 deletions

READMEs/c2d-flow.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -164,7 +164,7 @@ provider_url = DataServiceProvider.get_url(ocean.config)
164164
# returns "http://localhost:8030"
165165

166166
# Calc DATA service compute descriptor
167-
from ocean_lib.common.ddo.service import Service
167+
from ocean_lib.services.service import Service
168168
from ocean_lib.common.agreements.service_types import ServiceTypes
169169
DATA_compute_service = Service(
170170
service_endpoint=provider_url,

READMEs/marketplace-flow.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -155,7 +155,7 @@ service_attributes = {
155155
# They're only decrypted for datatoken owners upon consume.
156156
from ocean_lib.data_provider.data_service_provider import DataServiceProvider
157157
from ocean_lib.common.agreements.service_types import ServiceTypes
158-
from ocean_lib.common.ddo.service import Service
158+
from ocean_lib.services.service import Service
159159

160160
service_endpoint = DataServiceProvider.get_url(ocean.config)
161161
download_service = Service(

0 commit comments

Comments
 (0)