Visitar URL original
feat: Allow feast snowflake to read in byte string for private-key authentication by arturkolakowski · Pull Request #4384 · feast-dev/feast · GitHub
Skip to content
Merged
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
Next Next commit
Update type hint in parse_private_key_path
Signed-off-by: Artur <artur.kolakowski@medely.com>
  • Loading branch information
arturkolakowski committed Aug 8, 2024
commit f48638422e386f5d73b8bb24b8bdef49a451ecab
Original file line number Diff line number Diff line change
Expand Up @@ -511,7 +511,7 @@ def chunk_helper(lst: pd.DataFrame, n: int) -> Iterator[Tuple[int, pd.DataFrame]


def parse_private_key_path(
private_key: Union[bytes | str], private_key_passphrase: str
private_key: Union[str, bytes], private_key_passphrase: str
) -> bytes:
"""Returns snowflake pkb by parsing and reading either from private key path or as byte string."""
if isinstance(private_key, str):
Expand Down