Skip to content

Commit

Permalink
Adapt tag.py to the move to hopsworks
Browse files Browse the repository at this point in the history
  • Loading branch information
aversey committed Jul 15, 2024
1 parent eb496c4 commit dcc2ea9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions python/hopsworks/tag.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
import json

import humps
from hsfs import util
from hopsworks import util


class Tag:
Expand All @@ -44,7 +44,7 @@ def to_dict(self):
}

def json(self):
return json.dumps(self, cls=util.FeatureStoreEncoder)
return json.dumps(self, cls=util.Encoder)

@classmethod
def from_response_json(cls, json_dict):
Expand Down

0 comments on commit dcc2ea9

Please sign in to comment.