Skip to content

Commit 5b0a979

Browse files
SNOW-582913 adding multiple issue templates (#284)
1 parent 57b655a commit 5b0a979

File tree

3 files changed

+60
-30
lines changed

3 files changed

+60
-30
lines changed

.github/ISSUE_TEMPLATE.txt

Lines changed: 0 additions & 30 deletions
This file was deleted.

.github/ISSUE_TEMPLATE/BUG_REPORT.md

Lines changed: 47 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,47 @@
1+
---
2+
name: Bug Report 🐞
3+
about: Something isn't working as expected? Here is the right place to report.
4+
labels: bug, needs triage
5+
---
6+
7+
Please answer these questions before submitting your issue. Thanks!
8+
9+
1. What version of Python are you using?
10+
11+
Replace with the output of `python --version --version`
12+
13+
2. What operating system and processor architecture are you using?
14+
15+
Replace with the output of `python -c 'import platform; print(platform.platform())'`
16+
17+
3. What are the component versions in the environment (`pip freeze`)?
18+
19+
Replace with the output of `python -m pip freeze`
20+
21+
4. What did you do?
22+
23+
If possible, provide a recipe for reproducing the error.
24+
A complete runnable program is good.
25+
26+
5. What did you expect to see?
27+
28+
What should have happened and what happened instead?
29+
30+
6. Can you set logging to DEBUG and collect the logs?
31+
32+
```
33+
import logging
34+
import os
35+
36+
for logger_name in ['snowflake.sqlalchemy', 'snowflake.connector']:
37+
logger = logging.getLogger(logger_name)
38+
logger.setLevel(logging.DEBUG)
39+
ch = logging.StreamHandler()
40+
ch.setLevel(logging.DEBUG)
41+
ch.setFormatter(logging.Formatter('%(asctime)s - %(threadName)s %(filename)s:%(lineno)d - %(funcName)s() - %(levelname)s - %(message)s'))
42+
logger.addHandler(ch)
43+
```
44+
45+
<!--
46+
If you need urgent assistance reach out to support for escalated issue processing https://community.snowflake.com/s/article/How-To-Submit-a-Support-Case-in-Snowflake-Lodge
47+
-->
Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
---
2+
name: Feature Request 💡
3+
about: Suggest a new idea for the project.
4+
labels: feature
5+
---
6+
7+
## What is the current behavior?
8+
9+
## What is the desired behavior?
10+
11+
## How would this improve `snowflake-connector-python`?
12+
13+
## References, Other Background

0 commit comments

Comments
 (0)