Skip to content

Commit 5ff6d2a

Browse files
authored
Merge branch 'main' into pydantic-1.9.0-field-params
2 parents 45d5eb1 + d05c3ee commit 5ff6d2a

File tree

146 files changed

+3170
-2980
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

146 files changed

+3170
-2980
lines changed

.github/ISSUE_TEMPLATE/question.yml renamed to .github/DISCUSSION_TEMPLATE/questions.yml

Lines changed: 10 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
name: Question or Problem
2-
description: Ask a question or ask about a problem
31
labels: [question]
42
body:
53
- type: markdown
@@ -8,29 +6,29 @@ body:
86
Thanks for your interest in SQLModel! 🚀
97
108
Please follow these instructions, fill every question, and do every step. 🙏
11-
12-
I'm asking this because answering questions and solving problems in GitHub issues is what consumes most of the time.
13-
14-
I end up not being able to add new features, fix bugs, review pull requests, etc. as fast as I wish because I have to spend too much time handling issues.
9+
10+
I'm asking this because answering questions and solving problems in GitHub is what consumes most of the time.
11+
12+
I end up not being able to add new features, fix bugs, review pull requests, etc. as fast as I wish because I have to spend too much time handling questions.
1513
1614
All that, on top of all the incredible help provided by a bunch of community members that give a lot of their time to come here and help others.
1715
1816
If more SQLModel users came to help others like them just a little bit more, it would be much less effort for them (and you and me 😅).
1917
2018
By asking questions in a structured way (following this) it will be much easier to help you.
21-
19+
2220
And there's a high chance that you will find the solution along the way and you won't even have to submit it and wait for an answer. 😎
2321
24-
As there are too many issues with questions, I'll have to close the incomplete ones. That will allow me (and others) to focus on helping people like you that follow the whole process and help us help you. 🤓
22+
As there are too many questions, I'll have to discard and close the incomplete ones. That will allow me (and others) to focus on helping people like you that follow the whole process and help us help you. 🤓
2523
- type: checkboxes
2624
id: checks
2725
attributes:
2826
label: First Check
2927
description: Please confirm and check all the following options.
3028
options:
31-
- label: I added a very descriptive title to this issue.
29+
- label: I added a very descriptive title here.
3230
required: true
33-
- label: I used the GitHub search to find a similar issue and didn't find it.
31+
- label: I used the GitHub search to find a similar question and didn't find it.
3432
required: true
3533
- label: I searched the SQLModel documentation, with the integrated search.
3634
required: true
@@ -48,10 +46,10 @@ body:
4846
label: Commit to Help
4947
description: |
5048
After submitting this, I commit to one of:
51-
49+
5250
* Read open issues with questions until I find 2 issues where I can help someone and add a comment to help there.
5351
* I already hit the "watch" button in this repository to receive notifications and I commit to help at least 2 people that ask questions in the future.
54-
* Implement a Pull Request for a confirmed bug.
52+
* Review one Pull Request by downloading the code and following all the review process](https://sqlmodel.tiangolo.com/help/#review-pull-requests).
5553
5654
options:
5755
- label: I commit to help with one of those options 👆

.github/ISSUE_TEMPLATE/config.yml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,3 +2,12 @@ blank_issues_enabled: false
22
contact_links:
33
- name: Security Contact
44
about: Please report security vulnerabilities to security@tiangolo.com
5+
- name: Question or Problem
6+
about: Ask a question or ask about a problem in GitHub Discussions.
7+
url: https://github.com/tiangolo/sqlmodel/discussions/categories/questions
8+
- name: Feature Request
9+
about: To suggest an idea or ask about a feature, please start with a question saying what you would like to achieve. There might be a way to do it already.
10+
url: https://github.com/tiangolo/sqlmodel/discussions/categories/questions
11+
- name: Show and tell
12+
about: Show what you built with SQLModel or to be used with SQLModel.
13+
url: https://github.com/tiangolo/sqlmodel/discussions/categories/show-and-tell

.github/ISSUE_TEMPLATE/feature-request.yml

Lines changed: 0 additions & 214 deletions
This file was deleted.
Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
name: Privileged
2+
description: You are @tiangolo or he asked you directly to create an issue here. If not, check the other options. 👇
3+
body:
4+
- type: markdown
5+
attributes:
6+
value: |
7+
Thanks for your interest in SQLModel! 🚀
8+
9+
If you are not @tiangolo or he didn't ask you directly to create an issue here, please start the conversation in a [Question in GitHub Discussions](https://github.com/tiangolo/sqlmodel/discussions/categories/questions) instead.
10+
- type: checkboxes
11+
id: privileged
12+
attributes:
13+
label: Privileged issue
14+
description: Confirm that you are allowed to create an issue here.
15+
options:
16+
- label: I'm @tiangolo or he asked me directly to create an issue here.
17+
required: true
18+
- type: textarea
19+
id: content
20+
attributes:
21+
label: Issue Content
22+
description: Add the content of the issue here.

.github/actions/comment-docs-preview-in-pr/app/main.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -48,9 +48,7 @@ class PartialGithubEvent(BaseModel):
4848
use_pr = pr
4949
break
5050
if not use_pr:
51-
logging.error(
52-
f"No PR found for hash: {event.workflow_run.head_commit.id}"
53-
)
51+
logging.error(f"No PR found for hash: {event.workflow_run.head_commit.id}")
5452
sys.exit(0)
5553
github_headers = {
5654
"Authorization": f"token {settings.input_token.get_secret_value()}"

.github/actions/watch-previews/Dockerfile

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

.github/actions/watch-previews/action.yml

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

0 commit comments

Comments
 (0)