Grid warnings
Nobody has claimed this yet.
Assessment
- Difficulty
- 5/5
- Estimated time
- Over a week
- Newbie friendliness
- 25/100
Research direction
No source file, test, or entry point is named. Start by locating Grid's handling of deprecated functions, parameters, and left joins, then clarify whether DeprecationWarning and UserWarning are appropriate and define the expected warning conditions before implementation.
Written by the indexing model from the issue text.
Description
I want to add some code to Grid that would give developers some helpful warnings. I have 2 use cases so far.
- Deprecation - provide deprecation warnings when the code accesses a deprecated function or parameter. I'd like to use the Python warnings.DeprecationWarning for this purpose.
- I ran into a situation today where I'd coded a grid with a left join, but forgot to specify the field_id argument to tell grid which is my primary table. I'd like grid to throw a warnings.UserWarning in this situation to notify me that I have a left without a field_id.
I'm looking for input
- are these valuable to add?
- Is using the warnings module the right way to go about this?
- Dominant language
- HTML
- Stars
- 319
- Forks
- 144
- Avg merge
- 6d 20h
- Merged PRs (30d)
- 3
Contributor guide
No contributing guide indexed for this repository
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.
More from web2py/py4web
-
Difficulty 3/5 1-2 days Newbie friendliness 48/100
-
Difficulty 5/5 Over a week Newbie friendliness 30/100
-
Difficulty 4/5 3-5 days Newbie friendliness 38/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 50/100
-
Difficulty 3/5 1-2 days Newbie friendliness 45/100
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
OpenLiberty/open-liberty#35839 ·
-
affects-9.0 found-by-ai may-affects-25.10 may-affects-26.3 may-affects-26.9 may-affects-7.5 may-affects-8.1 may-affects-8.5 severity/major sig/execution type/bug
Difficulty 2/5 1-3 hours Newbie friendliness 85/100
-
Difficulty 1/5 Under an hour Newbie friendliness 92/100
antlr/grammars-v4#5014 · 1 comment ·
-
comp-query-execution fuzz
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
ClickHouse/ClickHouse#121303 · 3 comments ·