Skip to content

Commit

Permalink
to-remove - just to debug CI
Browse files Browse the repository at this point in the history
  • Loading branch information
thomass-dev committed Dec 9, 2024
1 parent 939bfc7 commit ef10599
Showing 1 changed file with 2 additions and 7 deletions.
9 changes: 2 additions & 7 deletions skore/src/skore/project/project.py
Original file line number Diff line number Diff line change
Expand Up @@ -144,13 +144,8 @@ def __put_one(self, key: str, value: Any):
ProjectPutError
If the key-value pair cannot be saved properly.
"""
try:
item = object_to_item(value)
self.put_item(key, item)
except (NotImplementedError, TypeError) as e:
raise ProjectPutError(
"Key-value pair could not be inserted in the Project"
) from e
item = object_to_item(value)
self.put_item(key, item)

def put_item(self, key: str, item: Item):
"""Add an Item to the Project."""
Expand Down

0 comments on commit ef10599

Please sign in to comment.