Skip to content

Commit

Permalink
fix deser
Browse files Browse the repository at this point in the history
  • Loading branch information
Sean Friedowitz committed Apr 3, 2023
1 parent 1637906 commit 25ed88e
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion src/citrine/__version__.py
Original file line number Diff line number Diff line change
@@ -1 +1 @@
__version__ = '2.11.1'
__version__ = '2.11.2'
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
from typing import List, Optional

from citrine._rest.engine_resource import VersionedEngineResource
from citrine._serialization import properties as _properties
from citrine._serialization import properties
from citrine.informatics.descriptors import ChemicalFormulaDescriptor, Descriptor
from citrine.informatics.predictors import Predictor

Expand Down Expand Up @@ -130,12 +130,12 @@ class ChemicalFormulaFeaturizer(VersionedEngineResource['ChemicalFormulaFeaturiz
"""

input_descriptor = _properties.Object(Descriptor, 'data.instance.input')
features = _properties.List(_properties.String, 'data.instance.features')
excludes = _properties.List(_properties.String, 'data.instance.excludes')
powers = _properties.List(_properties.Integer, 'data.instance.powers')
input_descriptor = properties.Object(Descriptor, 'data.instance.input')
features = properties.List(properties.String, 'data.instance.features')
excludes = properties.List(properties.String, 'data.instance.excludes', default=[])
powers = properties.List(properties.Integer, 'data.instance.powers')

typ = _properties.String('data.instance.type', default='ChemicalFormulaFeaturizer',
typ = properties.String('data.instance.type', default='ChemicalFormulaFeaturizer',
deserializable=False)

def __init__(self,
Expand Down

0 comments on commit 25ed88e

Please sign in to comment.