Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
F
force-bdss
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Adham Hashibon
force-bdss
Commits
43776a9f
Commit
43776a9f
authored
7 years ago
by
martinRenou
Browse files
Options
Downloads
Plain Diff
Merge branch 'master' into create_probe_classes_for_tests
parents
000694cb
80808e38
No related branches found
No related tags found
1 merge request
!101
Create probe classes for tests
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
force_bdss/api.py
+1
-1
1 addition, 1 deletion
force_bdss/api.py
force_bdss/mco/base_mco_communicator.py
+1
-0
1 addition, 0 deletions
force_bdss/mco/base_mco_communicator.py
force_bdss/mco/parameters/base_mco_parameter_factory.py
+2
-2
2 additions, 2 deletions
force_bdss/mco/parameters/base_mco_parameter_factory.py
with
4 additions
and
3 deletions
force_bdss/api.py
+
1
−
1
View file @
43776a9f
from
.base_extension_plugin
import
BaseExtensionPlugin
# noqa
from
.ids
import
factory_id
,
plugin_id
# noqa
from
.ids
import
factory_id
,
plugin_id
,
mco_parameter_id
# noqa
from
.core.data_value
import
DataValue
# noqa
from
.core.workflow
import
Workflow
# noqa
...
...
This diff is collapsed.
Click to expand it.
force_bdss/mco/base_mco_communicator.py
+
1
−
0
View file @
43776a9f
...
...
@@ -21,6 +21,7 @@ class BaseMCOCommunicator(ABCHasStrictTraits):
def
__init__
(
self
,
factory
,
*
args
,
**
kwargs
):
self
.
factory
=
factory
super
(
BaseMCOCommunicator
,
self
).
__init__
(
*
args
,
**
kwargs
)
super
(
BaseMCOCommunicator
,
self
).
__init__
(
*
args
,
**
kwargs
)
...
...
This diff is collapsed.
Click to expand it.
force_bdss/mco/parameters/base_mco_parameter_factory.py
+
2
−
2
View file @
43776a9f
...
...
@@ -27,9 +27,9 @@ class BaseMCOParameterFactory(HasStrictTraits):
# The model class to instantiate when create_model is called.
model_class
=
Type
(
'
BaseMCOParameter
'
)
def
__init__
(
self
,
mco_factory
):
def
__init__
(
self
,
mco_factory
,
*
args
,
**
kwargs
):
self
.
mco_factory
=
mco_factory
super
(
BaseMCOParameterFactory
,
self
).
__init__
()
super
(
BaseMCOParameterFactory
,
self
).
__init__
(
*
args
,
**
kwargs
)
def
create_model
(
self
,
data_values
=
None
):
"""
Creates the instance of the model class and returns it.
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment