Skip to content

Commit

Permalink
Merge pull request #101 from Exabyte-io/feature/SOF-7347
Browse files Browse the repository at this point in the history
feature/SOF-7347
  • Loading branch information
timurbazhirov authored May 15, 2024
2 parents 7ed7a3d + 016d3a0 commit 447c8a0
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ dependencies = [
# add requirements here
"numpy",
"jsonschema>=2.6.0",
"mat3ra-utils",
"mat3ra-utils>=2024.5.15.post0",
]

[project.optional-dependencies]
Expand Down
2 changes: 1 addition & 1 deletion src/py/mat3ra/code/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ def get_prop(self, name: str, default_value: Any = None) -> Any:
return self.__getattribute_from_json__(name, default_value)

def set_prop(self, name: str, value: Any) -> None:
object_utils.set(self._json, name, value)
object_utils.set_object_key(self._json, name, value)

def unset_prop(self, name: str) -> None:
del self._json[name]
Expand Down

0 comments on commit 447c8a0

Please sign in to comment.