Skip to content

Commit 97a7aab

Browse files
authored
Merge pull request #784 from CitrineInformatics/fix/PLA-10399-make-pew-publishable
Set resource type on PEWs to allow them to be publish-able and available to pull into projects
2 parents 984df3d + 5bc1f4f commit 97a7aab

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

src/citrine/__version__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
__version__ = '1.40.0'
1+
__version__ = '1.40.1'

src/citrine/informatics/workflows/predictor_evaluation_workflow.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
from typing import List
22

3-
from citrine._rest.resource import Resource
3+
from citrine._rest.resource import Resource, ResourceTypeEnum
44
from citrine._serialization import properties
55
from citrine.informatics.predictor_evaluator import PredictorEvaluator
66
from citrine.informatics.workflows.workflow import Workflow
@@ -31,6 +31,8 @@ class PredictorEvaluationWorkflow(Resource['PredictorEvaluationWorkflow'],
3131
""":str: more detailed description of the workflow's status"""
3232
typ = properties.String('type', default='PredictorEvaluationWorkflow', deserializable=False)
3333

34+
_resource_type = ResourceTypeEnum.MODULE
35+
3436
def __init__(self,
3537
name: str,
3638
*,

0 commit comments

Comments
 (0)