snowflakedb / snowflakedb/snowpark-python

SNOW-2404739: Type annotation incorrect for SessionBuilder configs

Open Beginner friendly
#3,873 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Python
Stars
341
Forks
155
Avg merge
4d 16h
Merged PRs (30d)
27

Description

This union should include bytes since private keys may be specified with bytes.

https://github.com/snowflakedb/snowpark-python/blob/main/src/snowflake/snowpark/session.py#L494

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Open src/snowflake/snowpark/session.py around line 494 and inspect the SessionBuilder configuration type annotation. Update the union to include bytes for private-key values, then verify that the annotation accurately reflects the supported configuration types.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
api
Issue type
Bug
Difficulty
1/5
Estimated time
Under an hour
Activity status
Stale
Clarity
Clearly specified
Newbie friendliness
62/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.