Skip to content

gh-131002: clarify how to enforce sqlite3 column types for generated fields#131006

Merged
erlend-aasland merged 7 commits intopython:mainfrom
erlend-aasland:sqlite/doc-parse-types-for-generated-fields
Mar 17, 2025
Merged

gh-131002: clarify how to enforce sqlite3 column types for generated fields#131006
erlend-aasland merged 7 commits intopython:mainfrom
erlend-aasland:sqlite/doc-parse-types-for-generated-fields

Conversation

@erlend-aasland
Copy link
Copy Markdown
Contributor

@erlend-aasland erlend-aasland commented Mar 9, 2025

  • reorder PARSE_DECLTYPES and PARSE_COLNAMES doc entries so PARSE_DECLTYPES comes first, as its example introduces the example SQL table
  • clarify how to properly quote column names
  • help the reader to use converters for generated fields

📚 Documentation preview 📚: https://cpython-previews--131006.org.readthedocs.build/

@erlend-aasland
Copy link
Copy Markdown
Contributor Author

WDYT, @DLu and @picnixz?

Comment thread Doc/library/sqlite3.rst Outdated
Comment thread Doc/library/sqlite3.rst Outdated
Copy link
Copy Markdown

@DLu DLu left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@picnixz picnixz self-requested a review March 12, 2025 14:43
Comment thread Doc/library/sqlite3.rst Outdated
erlend-aasland and others added 3 commits March 13, 2025 20:32
Co-authored-by: Bénédikt Tran <10796600+picnixz@users.noreply.github.com>
Comment thread Doc/library/sqlite3.rst Outdated
@erlend-aasland erlend-aasland enabled auto-merge (squash) March 17, 2025 22:21
@erlend-aasland
Copy link
Copy Markdown
Contributor Author

Thanks for the reviews!

@erlend-aasland erlend-aasland linked an issue Mar 17, 2025 that may be closed by this pull request
@erlend-aasland erlend-aasland merged commit f48887f into python:main Mar 17, 2025
@erlend-aasland erlend-aasland deleted the sqlite/doc-parse-types-for-generated-fields branch March 17, 2025 22:26
@github-project-automation github-project-automation Bot moved this from Todo to Done in Docs PRs Mar 17, 2025
@miss-islington-app

This comment was marked as outdated.

miss-islington pushed a commit to miss-islington/cpython that referenced this pull request Mar 17, 2025
…rated fields (pythonGH-131006)

(cherry picked from commit f48887f)

Co-authored-by: Erlend E. Aasland <erlend@python.org>
@bedevere-app
Copy link
Copy Markdown

bedevere-app Bot commented Mar 17, 2025

GH-131385 is a backport of this pull request to the 3.13 branch.

@bedevere-app bedevere-app Bot removed the needs backport to 3.13 bugs and security fixes label Mar 17, 2025
miss-islington pushed a commit to miss-islington/cpython that referenced this pull request Mar 17, 2025
…rated fields (pythonGH-131006)

(cherry picked from commit f48887f)

Co-authored-by: Erlend E. Aasland <erlend@python.org>
@bedevere-app
Copy link
Copy Markdown

bedevere-app Bot commented Mar 17, 2025

GH-131386 is a backport of this pull request to the 3.12 branch.

@bedevere-app bedevere-app Bot removed the needs backport to 3.12 only security fixes label Mar 17, 2025
erlend-aasland added a commit that referenced this pull request Mar 18, 2025
…erated fields (GH-131006) (#131385)

(cherry picked from commit f48887f)

Co-authored-by: Erlend E. Aasland <erlend@python.org>
erlend-aasland added a commit that referenced this pull request Mar 18, 2025
…erated fields (GH-131006) (#131386)

(cherry picked from commit f48887f)

Co-authored-by: Erlend E. Aasland <erlend@python.org>
colesbury pushed a commit to colesbury/cpython that referenced this pull request Mar 20, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

docs Documentation in the Doc dir skip news

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

[sqlite3] Converter Not Called with Aggregate Functions

3 participants