Skip to content

Commit

Permalink
[HWORKS-798] Add **kwargs to python client libraries (#177)
Browse files Browse the repository at this point in the history
  • Loading branch information
robzor92 authored Oct 18, 2023
1 parent 9ab28cb commit a69ef07
Show file tree
Hide file tree
Showing 16 changed files with 16 additions and 0 deletions.
1 change: 1 addition & 0 deletions python/hopsworks/command.py
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ def __init__(
type=None,
href=None,
count=None,
**kwargs,
):
self._id = id
self._op = op
Expand Down
1 change: 1 addition & 0 deletions python/hopsworks/environment.py
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@ def __init__(
type=None,
project_id=None,
project_name=None,
**kwargs,
):
self._python_version = python_version
self._python_conflicts = python_conflicts
Expand Down
1 change: 1 addition & 0 deletions python/hopsworks/execution.py
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,7 @@ def __init__(
project_id=None,
job_name=None,
job_type=None,
**kwargs,
):
self._id = id
self._final_status = final_status
Expand Down
1 change: 1 addition & 0 deletions python/hopsworks/flink_cluster.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ def __init__(
job,
project_id=None,
project_name=None,
**kwargs,
):
self._job = job
self._project_id = project_id
Expand Down
1 change: 1 addition & 0 deletions python/hopsworks/git_commit.py
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@ def __init__(
expand=None,
items=None,
count=None,
**kwargs,
):
self._name = name
self._email = email
Expand Down
1 change: 1 addition & 0 deletions python/hopsworks/git_file_status.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ def __init__(
file=None,
status=None,
extra=None,
**kwargs,
):
self._file = file
self._status = status
Expand Down
1 change: 1 addition & 0 deletions python/hopsworks/git_op_execution.py
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@ def __init__(
count=None,
project_id=None,
project_name=None,
**kwargs,
):
self._id = id
self._submission_time = submission_time
Expand Down
1 change: 1 addition & 0 deletions python/hopsworks/git_provider.py
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@ def __init__(
count=None,
project_id=None,
project_name=None,
**kwargs,
):
self._username = username
self._git_provider = git_provider
Expand Down
1 change: 1 addition & 0 deletions python/hopsworks/git_remote.py
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@ def __init__(
count=None,
project_id=None,
project_name=None,
**kwargs,
):
self._name = remote_name
self._url = remote_url
Expand Down
1 change: 1 addition & 0 deletions python/hopsworks/git_repo.py
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@ def __init__(
count=None,
project_id=None,
project_name=None,
**kwargs,
):
self._id = id
self._name = name
Expand Down
1 change: 1 addition & 0 deletions python/hopsworks/job.py
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@ def __init__(
project_id=None,
project_name=None,
job_schedule=None,
**kwargs,
):
self._id = id
self._name = name
Expand Down
1 change: 1 addition & 0 deletions python/hopsworks/kafka_schema.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ def __init__(
project_id=None,
project_name=None,
type=None,
**kwargs,
):
self._id = id
self._subject = subject
Expand Down
1 change: 1 addition & 0 deletions python/hopsworks/kafka_topic.py
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@ def __init__(
expand=None,
items=None,
count=None,
**kwargs,
):
self._name = name
self._num_of_replicas = num_of_replicas
Expand Down
1 change: 1 addition & 0 deletions python/hopsworks/library.py
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@ def __init__(
href=None,
environment=None,
project_id=None,
**kwargs,
):
self._channel = channel
self._package_source = package_source
Expand Down
1 change: 1 addition & 0 deletions python/hopsworks/secret.py
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@ def __init__(
expand=None,
items=None,
count=None,
**kwargs,
):
self._name = name
self._secret = secret
Expand Down
1 change: 1 addition & 0 deletions python/hopsworks/user.py
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,7 @@ def __init__(
num_active_projects=None,
num_remaining_projects=None,
href=None,
**kwargs,
):
self._username = username
self._email = email
Expand Down

0 comments on commit a69ef07

Please sign in to comment.