Skip to content

Commit

Permalink
uris in all type_key
Browse files Browse the repository at this point in the history
  • Loading branch information
dsavchenko committed Jan 13, 2025
1 parent 785db3c commit 855c1fe
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions dispatcher_plugin_nb2workflow/products.py
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ def write(self, file_name=None, overwrite=True, file_dir=None):

class NB2WProduct:

type_key = 'oda:DataProduct'
type_key = 'http://odahub.io/ontology#DataProduct'

def __init__(self, *args, **kwargs):
error_msg = "The output"
Expand Down Expand Up @@ -164,7 +164,7 @@ def _init_as_list(cls, encoded_data, *args, **kwargs):
return []

class NB2WNumpyDataProduct(NB2WProduct):
type_key = 'oda:NumpyData'
type_key = 'http://odahub.io/ontology#NumpyData'

def __init__(self,
encoded_data,
Expand All @@ -190,7 +190,7 @@ def __init__(self,


class NB2WParameterProduct(NB2WProduct):
type_key = 'oda:WorkflowParameter'
type_key = 'http://odahub.io/ontology#WorkflowParameter'

ontology_path = None

Expand Down

0 comments on commit 855c1fe

Please sign in to comment.