Commit 0085697b authored by Mitar's avatar Mitar
Browse files

Added location_uris.

parent 08169c18
Pipeline #15867996 passed with stage
in 3 minutes and 5 seconds
......@@ -58,6 +58,12 @@ class IncrementPrimitive(transformer.TransformerPrimitiveBase[Inputs, Outputs, H
git_commit=utils.current_git_commit(os.path.dirname(__file__)),
),
}],
# URIs at which one can obtain code for the primitive, if available.
'location_uris': [
'https://gitlab.com/datadrivendiscovery/tests-data/raw/{git_commit}/primitives/test_primitives/increment.py'.format(
git_commit=utils.current_git_commit(os.path.dirname(__file__)),
),
],
# The same path the primitive is registered with entry points in setup.py.
'python_path': 'd3m.primitives.test.IncrementPrimitive',
# Choose these from a controlled vocabulary in the schema. If anything is missing which would
......
......@@ -54,6 +54,12 @@ class MonomialPrimitive(supervised_learning.SupervisedLearnerPrimitiveBase[Input
git_commit=utils.current_git_commit(os.path.dirname(__file__)),
),
}],
# URIs at which one can obtain code for the primitive, if available.
'location_uris': [
'https://gitlab.com/datadrivendiscovery/tests-data/raw/{git_commit}/primitives/test_primitives/monomial.py'.format(
git_commit=utils.current_git_commit(os.path.dirname(__file__)),
),
],
# The same path the primitive is registered with entry points in setup.py.
'python_path': 'd3m.primitives.test.MonomialPrimitive',
# Choose these from a controlled vocabulary in the schema. If anything is missing which would
......
......@@ -59,6 +59,12 @@ class RandomPrimitive(generator.GeneratorPrimitiveBase[Outputs, None, Hyperparam
git_commit=utils.current_git_commit(os.path.dirname(__file__)),
),
}],
# URIs at which one can obtain code for the primitive, if available.
'location_uris': [
'https://gitlab.com/datadrivendiscovery/tests-data/raw/{git_commit}/primitives/test_primitives/random.py'.format(
git_commit=utils.current_git_commit(os.path.dirname(__file__)),
),
],
# The same path the primitive is registered with entry points in setup.py.
'python_path': 'd3m.primitives.test.RandomPrimitive',
# Choose these from a controlled vocabulary in the schema. If anything is missing which would
......
......@@ -72,6 +72,12 @@ class SumPrimitive(base.SingletonOutputMixin[Inputs, Outputs, None, Hyperparams]
# You can see digests using "docker images --digests".
'image_digest': 'sha256:07db5fef262c1172de5c1db5334944b2f58a679e4bb9ea6232234d71239deb64',
}],
# URIs at which one can obtain code for the primitive, if available.
'location_uris': [
'https://gitlab.com/datadrivendiscovery/tests-data/raw/{git_commit}/primitives/test_primitives/sum.py'.format(
git_commit=utils.current_git_commit(os.path.dirname(__file__)),
),
],
# The same path the primitive is registered with entry points in setup.py.
'python_path': 'd3m.primitives.test.SumPrimitive',
# Choose these from a controlled vocabulary in the schema. If anything is missing which would
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment