Skip to content

Commit

Permalink
Adapt online_store_rest_client
Browse files Browse the repository at this point in the history
  • Loading branch information
aversey committed Jul 17, 2024
1 parent 9d6e627 commit de2b4c8
Show file tree
Hide file tree
Showing 3 changed files with 32 additions and 3 deletions.
7 changes: 4 additions & 3 deletions python/hopsworks_common/client/online_store_rest_client.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@
# See the License for the specific language governing permissions and
# limitations under the License.
#

from __future__ import annotations

import logging
Expand All @@ -22,9 +23,9 @@
import requests
import requests.adapters
from furl import furl
from hsfs import client
from hsfs.client.exceptions import FeatureStoreException
from hsfs.core import variable_api
from hopsworks_common import client
from hopsworks_common.client.exceptions import FeatureStoreException
from hopsworks_common.core import variable_api


_logger = logging.getLogger(__name__)
Expand Down
File renamed without changes.
28 changes: 28 additions & 0 deletions python/hsfs/client/online_store_rest_client.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
#
# Copyright 2024 Hopsworks AB
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#

from hopsworks_common.client.online_store_rest_client import (
OnlineStoreRestClientSingleton,
get_instance,
init_or_reset_online_store_rest_client,
)


__all__ = [
OnlineStoreRestClientSingleton,
get_instance,
init_or_reset_online_store_rest_client,
]

0 comments on commit de2b4c8

Please sign in to comment.