issue_comments
2 rows where issue = 1026794056
This data as json, CSV (advanced)
Suggested facets: created_at (date), updated_at (date)
id ▼ | html_url | issue_url | node_id | user | created_at | updated_at | author_association | body | reactions | issue | performed_via_github_app |
---|---|---|---|---|---|---|---|---|---|---|---|
968381939 | https://github.com/simonw/sqlite-utils/issues/331#issuecomment-968381939 | https://api.github.com/repos/simonw/sqlite-utils/issues/331 | IC_kwDOCGYnMM45uFXz | simonw 9599 | 2021-11-14T23:06:20Z | 2021-11-14T23:06:20Z | OWNER | Thanks - I didn't know this was needed! | {"total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0} | Mypy error: found module but no type hints or library stubs 1026794056 | |
968384005 | https://github.com/simonw/sqlite-utils/issues/331#issuecomment-968384005 | https://api.github.com/repos/simonw/sqlite-utils/issues/331 | IC_kwDOCGYnMM45uF4F | simonw 9599 | 2021-11-14T23:19:29Z | 2021-11-14T23:20:32Z | OWNER | Tested it like this, against a freshly built `.tar.gz` package from my development environment: ``` (w) w % mypy . hello.py:1: error: Skipping analyzing "sqlite_utils": found module but no type hints or library stubs hello.py:1: note: See https://mypy.readthedocs.io/en/stable/running_mypy.html#missing-imports Found 1 error in 1 file (checked 1 source file) (w) w % pip install ~/Dropbox/Development/sqlite-utils/dist/sqlite-utils-3.17.1.tar.gz Processing /Users/simon/Dropbox/Development/sqlite-utils/dist/sqlite-utils-3.17.1.tar.gz ... Successfully installed sqlite-utils-3.17.1 (w) w % mypy . Success: no issues found in 1 source file ``` I tested against the `.whl` too. My `hello.py` script contained this: ```python import sqlite_utils from typing import cast if __name__ == "__main__": db = sqlite_utils.Database(memory=True) table = cast(sqlite_utils.db.Table, db["foo"]) table.insert({"id": 5}) print(list(db.query("select * from foo"))) ``` That `cast()` is necessary because without it you get this error: ``` (w) w % mypy . hello.py:7: error: Item "View" of "Union[Table, View]" has no attribute "insert" ``` | {"total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0} | Mypy error: found module but no type hints or library stubs 1026794056 |
Advanced export
JSON shape: default, array, newline-delimited, object
CREATE TABLE [issue_comments] ( [html_url] TEXT, [issue_url] TEXT, [id] INTEGER PRIMARY KEY, [node_id] TEXT, [user] INTEGER REFERENCES [users]([id]), [created_at] TEXT, [updated_at] TEXT, [author_association] TEXT, [body] TEXT, [reactions] TEXT, [issue] INTEGER REFERENCES [issues]([id]) , [performed_via_github_app] TEXT); CREATE INDEX [idx_issue_comments_issue] ON [issue_comments] ([issue]); CREATE INDEX [idx_issue_comments_user] ON [issue_comments] ([user]);