snowflakedb / snowflakedb/snowpark-python
SNOW-2404739: Type annotation incorrect for SessionBuilder configs
Open
Beginner friendly
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
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- 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