Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
fixing lint errors. formatted the code.
Signed-off-by: lrangine <19699092+lokeshrangineni@users.noreply.github.com>
  • Loading branch information
lokeshrangineni committed Dec 12, 2024
commit 4e8dbb3a5aac1fe486e7001bf34b016dd6f1ff3f
4 changes: 1 addition & 3 deletions sdk/python/feast/feature_store.py
Original file line number Diff line number Diff line change
Expand Up @@ -1968,9 +1968,7 @@ def serve_offline(
"""Start offline server locally on a given port."""
from feast import offline_server

offline_server.start_server(
self, host, port, tls_key_path, tls_cert_path
)
offline_server.start_server(self, host, port, tls_key_path, tls_cert_path)

def serve_transformations(self, port: int) -> None:
"""Start the feature transformation server locally on a given port."""
Expand Down
2 changes: 1 addition & 1 deletion sdk/python/feast/offline_server.py
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ def __init__(
str_to_auth_manager_type(store.config.auth_config.type)
),
tls_certificates=tls_certificates,
verify_client=False, # this is needed for when we don't need mTLS
verify_client=False, # this is needed for when we don't need mTLS
**kwargs,
)
self._location = location
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -451,7 +451,7 @@ def setup(self, registry: RegistryConfig):
"--key",
str(tls_key_path),
"--cert",
str(self.tls_cert_path)
str(self.tls_cert_path),
]
self.proc = subprocess.Popen(
cmd, stdout=subprocess.PIPE, stderr=subprocess.DEVNULL
Expand Down