Skip to content

Commit

Permalink
Revert making hsfs/client/base proper abstract class
Browse files Browse the repository at this point in the history
  • Loading branch information
aversey committed Jul 17, 2024
1 parent 8161885 commit d2166dd
Showing 1 changed file with 1 addition and 7 deletions.
8 changes: 1 addition & 7 deletions python/hsfs/client/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@
import os
import textwrap
import time
from abc import ABC, abstractmethod
from pathlib import Path

import furl
Expand All @@ -39,7 +38,7 @@
urllib3.disable_warnings(urllib3.exceptions.InsecureRequestWarning)


class Client(ABC):
class Client:
TOKEN_FILE = "token.jwt"
TOKEN_EXPIRED_RETRY_INTERVAL = 0.6
TOKEN_EXPIRED_MAX_RETRIES = 10
Expand All @@ -49,11 +48,6 @@ class Client(ABC):
DEFAULT_DATABRICKS_ROOT_VIRTUALENV_ENV = "DEFAULT_DATABRICKS_ROOT_VIRTUALENV_ENV"
HOPSWORKS_PUBLIC_HOST = "HOPSWORKS_PUBLIC_HOST"

@abstractmethod
def __init__(self):
"""To be implemented by clients."""
pass

def _get_verify(self, verify, trust_store_path):
"""Get verification method for sending HTTP requests to Hopsworks.
Expand Down

0 comments on commit d2166dd

Please sign in to comment.