issue_comments
34 rows where "created_at" is on date 2023-07-22 and user = 9599 sorted by updated_at descending
This data as json, CSV (advanced)
Suggested facets: issue_url, reactions, created_at (date), updated_at (date)
user 1
- simonw · 34 ✖
id | html_url | issue_url | node_id | user | created_at | updated_at ▲ | author_association | body | reactions | issue | performed_via_github_app |
---|---|---|---|---|---|---|---|---|---|---|---|
1646688748 | https://github.com/simonw/sqlite-utils/issues/574#issuecomment-1646688748 | https://api.github.com/repos/simonw/sqlite-utils/issues/574 | IC_kwDOCGYnMM5iJnns | simonw 9599 | 2023-07-22T23:12:03Z | 2023-07-22T23:13:14Z | OWNER | Just tried this out by adding the example from the docs to my
|
{ "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
`prepare_connection()` plugin hook 1816918185 | |
1646688339 | https://github.com/simonw/sqlite-utils/issues/574#issuecomment-1646688339 | https://api.github.com/repos/simonw/sqlite-utils/issues/574 | IC_kwDOCGYnMM5iJnhT | simonw 9599 | 2023-07-22T23:08:49Z | 2023-07-22T23:08:49Z | OWNER | { "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
`prepare_connection()` plugin hook 1816918185 | ||
1646688288 | https://github.com/simonw/sqlite-utils/issues/575#issuecomment-1646688288 | https://api.github.com/repos/simonw/sqlite-utils/issues/575 | IC_kwDOCGYnMM5iJngg | simonw 9599 | 2023-07-22T23:08:22Z | 2023-07-22T23:08:22Z | OWNER | Documented here: https://sqlite-utils.datasette.io/en/latest/plugins.html |
{ "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
Python API ability to opt-out of connection plugins 1816919568 | |
1646687461 | https://github.com/simonw/sqlite-utils/issues/575#issuecomment-1646687461 | https://api.github.com/repos/simonw/sqlite-utils/issues/575 | IC_kwDOCGYnMM5iJnTl | simonw 9599 | 2023-07-22T23:01:44Z | 2023-07-22T23:01:44Z | OWNER | { "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
Python API ability to opt-out of connection plugins 1816919568 | ||
1646687219 | https://github.com/simonw/sqlite-utils/issues/567#issuecomment-1646687219 | https://api.github.com/repos/simonw/sqlite-utils/issues/567 | IC_kwDOCGYnMM5iJnPz | simonw 9599 | 2023-07-22T22:59:36Z | 2023-07-22T22:59:36Z | OWNER | Now that we have two plugin hooks I'm closing this issue (we can open other issues for further hooks). |
{ "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
Plugin system 1801394744 | |
1646687103 | https://github.com/simonw/sqlite-utils/pull/573#issuecomment-1646687103 | https://api.github.com/repos/simonw/sqlite-utils/issues/573 | IC_kwDOCGYnMM5iJnN_ | simonw 9599 | 2023-07-22T22:58:35Z | 2023-07-22T22:58:35Z | OWNER | https://sqlite-utils--573.org.readthedocs.build/en/573/plugins.html#prepare-connection-conn |
{ "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
feat: Implement a prepare_connection plugin hook 1816917522 | |
1646686675 | https://github.com/simonw/sqlite-utils/pull/573#issuecomment-1646686675 | https://api.github.com/repos/simonw/sqlite-utils/issues/573 | IC_kwDOCGYnMM5iJnHT | simonw 9599 | 2023-07-22T22:54:38Z | 2023-07-22T22:54:38Z | OWNER | Glitch in the rendered documentation from https://sqlite-utils--573.org.readthedocs.build/en/573/plugins.html#prepare-connection-conn |
{ "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
feat: Implement a prepare_connection plugin hook 1816917522 | |
1646686477 | https://github.com/simonw/sqlite-utils/issues/574#issuecomment-1646686477 | https://api.github.com/repos/simonw/sqlite-utils/issues/574 | IC_kwDOCGYnMM5iJnEN | simonw 9599 | 2023-07-22T22:52:56Z | 2023-07-22T22:52:56Z | OWNER | Alex built this in: - #573 |
{ "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
`prepare_connection()` plugin hook 1816918185 | |
1646686424 | https://github.com/simonw/sqlite-utils/issues/567#issuecomment-1646686424 | https://api.github.com/repos/simonw/sqlite-utils/issues/567 | IC_kwDOCGYnMM5iJnDY | simonw 9599 | 2023-07-22T22:52:34Z | 2023-07-22T22:52:34Z | OWNER | Splitting off an issue for |
{ "total_count": 1, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 1, "rocket": 0, "eyes": 0 } |
Plugin system 1801394744 | |
1646686332 | https://github.com/simonw/sqlite-utils/pull/573#issuecomment-1646686332 | https://api.github.com/repos/simonw/sqlite-utils/issues/573 | IC_kwDOCGYnMM5iJnB8 | simonw 9599 | 2023-07-22T22:52:01Z | 2023-07-22T22:52:01Z | OWNER | I was literally seconds away from shipping version 3.34 but I this looks good so I'm going to try and get it in there. |
{ "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
feat: Implement a prepare_connection plugin hook 1816917522 | |
1646682686 | https://github.com/simonw/sqlite-utils/issues/571#issuecomment-1646682686 | https://api.github.com/repos/simonw/sqlite-utils/issues/571 | IC_kwDOCGYnMM5iJmI- | simonw 9599 | 2023-07-22T22:23:47Z | 2023-07-22T22:23:47Z | OWNER | Demo: ```pycon <Table foo (name)> >>> print(db["foo"].schema) CREATE TABLE [foo] ( [name] TEXT ) >>> db["foo"].transform(not_null={"name"}) <Table foo (name)> >>> print(db["foo"].schema) CREATE TABLE "foo" ( [name] TEXT NOT NULL ) >>> db["foo"].transform(types={"name": int}, keep_table="kept") <Table foo (name)> >>> print(db.schema) CREATE TABLE "kept" ( [name] TEXT NOT NULL ); CREATE TABLE "foo" ( [name] INTEGER NOT NULL ); ``` |
{ "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
`.transform(keep_table=...)` option 1816876211 | |
1646681386 | https://github.com/simonw/sqlite-utils/issues/426#issuecomment-1646681386 | https://api.github.com/repos/simonw/sqlite-utils/issues/426 | IC_kwDOCGYnMM5iJl0q | simonw 9599 | 2023-07-22T22:13:22Z | 2023-07-22T22:13:22Z | OWNER | I'm happy with how this works on https://sqlite-utils.datasette.io/en/stable/cli-reference.html |
{ "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
CLI docs should link to Python docs and vice versa 1205687423 | |
1646681192 | https://github.com/simonw/sqlite-utils/issues/572#issuecomment-1646681192 | https://api.github.com/repos/simonw/sqlite-utils/issues/572 | IC_kwDOCGYnMM5iJlxo | simonw 9599 | 2023-07-22T22:12:08Z | 2023-07-22T22:12:08Z | OWNER | { "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
Don't test Python 3.7 against textual 1816877910 | ||
1646660777 | https://github.com/simonw/sqlite-utils/issues/572#issuecomment-1646660777 | https://api.github.com/repos/simonw/sqlite-utils/issues/572 | IC_kwDOCGYnMM5iJgyp | simonw 9599 | 2023-07-22T19:59:13Z | 2023-07-22T19:59:13Z | OWNER | I don't know where that is coming from! I can't see |
{ "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
Don't test Python 3.7 against textual 1816877910 | |
1646659809 | https://github.com/simonw/sqlite-utils/issues/565#issuecomment-1646659809 | https://api.github.com/repos/simonw/sqlite-utils/issues/565 | IC_kwDOCGYnMM5iJgjh | simonw 9599 | 2023-07-22T19:53:56Z | 2023-07-22T19:53:56Z | OWNER | { "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
Table renaming: db.rename_table() and sqlite-utils rename-table 1786258502 | ||
1646658978 | https://github.com/simonw/sqlite-utils/issues/565#issuecomment-1646658978 | https://api.github.com/repos/simonw/sqlite-utils/issues/565 | IC_kwDOCGYnMM5iJgWi | simonw 9599 | 2023-07-22T19:48:54Z | 2023-07-22T19:48:54Z | OWNER | { "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
Table renaming: db.rename_table() and sqlite-utils rename-table 1786258502 | ||
1646657849 | https://github.com/simonw/sqlite-utils/issues/565#issuecomment-1646657849 | https://api.github.com/repos/simonw/sqlite-utils/issues/565 | IC_kwDOCGYnMM5iJgE5 | simonw 9599 | 2023-07-22T19:42:02Z | 2023-07-22T19:42:02Z | OWNER | Manually testing new |
{ "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
Table renaming: db.rename_table() and sqlite-utils rename-table 1786258502 | |
1646657324 | https://github.com/simonw/sqlite-utils/issues/565#issuecomment-1646657324 | https://api.github.com/repos/simonw/sqlite-utils/issues/565 | IC_kwDOCGYnMM5iJf8s | simonw 9599 | 2023-07-22T19:39:06Z | 2023-07-22T19:39:06Z | OWNER |
I think |
{ "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
Table renaming: db.rename_table() and sqlite-utils rename-table 1786258502 | |
1646656246 | https://github.com/simonw/sqlite-utils/issues/565#issuecomment-1646656246 | https://api.github.com/repos/simonw/sqlite-utils/issues/565 | IC_kwDOCGYnMM5iJfr2 | simonw 9599 | 2023-07-22T19:32:07Z | 2023-07-22T19:32:07Z | OWNER | Trying out a simple first implementation: ```pycon <Table foo (id)> >>> db.rename_table("foo", "baz") ALTER TABLE [foo] RENAME TO [baz] None >>> print(db.schema) select sql from sqlite_master where sql is not null None CREATE TABLE "baz" ( [id] INTEGER ); ``` |
{ "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
Table renaming: db.rename_table() and sqlite-utils rename-table 1786258502 | |
1646655272 | https://github.com/simonw/sqlite-utils/issues/568#issuecomment-1646655272 | https://api.github.com/repos/simonw/sqlite-utils/issues/568 | IC_kwDOCGYnMM5iJfco | simonw 9599 | 2023-07-22T19:25:35Z | 2023-07-22T19:25:35Z | OWNER | Here's why that test broke: https://github.com/simonw/sqlite-utils/blob/58b577279fcd5ef6ce88f88b28668dffebfe7f44/sqlite_utils/db.py#L960-L964 I added an extra |
{ "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
table.create(..., replace=True) 1816851056 | |
1646654818 | https://github.com/simonw/sqlite-utils/issues/568#issuecomment-1646654818 | https://api.github.com/repos/simonw/sqlite-utils/issues/568 | IC_kwDOCGYnMM5iJfVi | simonw 9599 | 2023-07-22T19:22:40Z | 2023-07-22T19:22:40Z | OWNER | I think this broke a test:
```
$ pytest tests/test_tracer.py tests/test_tracer.py F. [100%] ===================================================== FAILURES ===================================================== _________ test_tracer __________
tests/test_tracer.py:12: AssertionError ============================================= short test summary info ============================================== FAILED tests/test_tracer.py::test_tracer - assert equals failed =========================================== 1 failed, 1 passed in 0.05s ============================================ ``` |
{ "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
table.create(..., replace=True) 1816851056 | |
1646654383 | https://github.com/simonw/sqlite-utils/issues/567#issuecomment-1646654383 | https://api.github.com/repos/simonw/sqlite-utils/issues/567 | IC_kwDOCGYnMM5iJfOv | simonw 9599 | 2023-07-22T19:20:16Z | 2023-07-22T19:20:16Z | OWNER | Here's documentation for the new plugins mechanism, including a very short tutorial on writing a new plugin (inspired by https://llm.datasette.io/en/stable/plugins/tutorial-model-plugin.html): |
{ "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
Plugin system 1801394744 | |
1646654275 | https://github.com/simonw/sqlite-utils/issues/569#issuecomment-1646654275 | https://api.github.com/repos/simonw/sqlite-utils/issues/569 | IC_kwDOCGYnMM5iJfND | simonw 9599 | 2023-07-22T19:19:35Z | 2023-07-22T19:19:35Z | OWNER | { "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
register_command plugin hook 1816852402 | ||
1646653610 | https://github.com/simonw/sqlite-utils/issues/568#issuecomment-1646653610 | https://api.github.com/repos/simonw/sqlite-utils/issues/568 | IC_kwDOCGYnMM5iJfCq | simonw 9599 | 2023-07-22T19:14:56Z | 2023-07-22T19:14:56Z | OWNER | Manual testing of CLI command as well:
|
{ "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
table.create(..., replace=True) 1816851056 | |
1646653382 | https://github.com/simonw/sqlite-utils/issues/568#issuecomment-1646653382 | https://api.github.com/repos/simonw/sqlite-utils/issues/568 | IC_kwDOCGYnMM5iJe_G | simonw 9599 | 2023-07-22T19:13:20Z | 2023-07-22T19:13:20Z | OWNER | Demo: ```pycon <Table foo (id)> >>> db["foo"].create({"id": int}) Traceback (most recent call last): File "<stdin>", line 1, in <module> File "/Users/simon/Dropbox/Development/sqlite-utils/sqlite_utils/db.py", line 1647, in create self.db.create_table( File "/Users/simon/Dropbox/Development/sqlite-utils/sqlite_utils/db.py", line 1030, in create_table self.execute(sql) File "/Users/simon/Dropbox/Development/sqlite-utils/sqlite_utils/db.py", line 510, in execute return self.conn.execute(sql) ^^^^^^^^^^^^^^^^^^^^^^ sqlean.dbapi2.OperationalError: table [foo] already exists >>> db["foo"].create({"id": int}, ignore=True) <Table foo (id)> >>> db["foo"].create({"id": int, "name": str}, replace=True) <Table foo (id, name)> >>> db["foo"].create({"id": int, "name": str, "age": int}, transform=True) <Table foo (id, name, age)> ``` |
{ "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
table.create(..., replace=True) 1816851056 | |
1646652105 | https://github.com/simonw/sqlite-utils/issues/568#issuecomment-1646652105 | https://api.github.com/repos/simonw/sqlite-utils/issues/568 | IC_kwDOCGYnMM5iJerJ | simonw 9599 | 2023-07-22T19:05:13Z | 2023-07-22T19:05:13Z | OWNER | I think this is |
{ "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
table.create(..., replace=True) 1816851056 | |
1646648262 | https://github.com/simonw/datasette/issues/2106#issuecomment-1646648262 | https://api.github.com/repos/simonw/datasette/issues/2106 | IC_kwDOBm6k_c5iJdvG | simonw 9599 | 2023-07-22T18:42:20Z | 2023-07-22T18:42:20Z | OWNER | Tested this locally with:
|
{ "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
`datasette install -e` option 1816857442 | |
1646646931 | https://github.com/simonw/datasette/issues/2106#issuecomment-1646646931 | https://api.github.com/repos/simonw/datasette/issues/2106 | IC_kwDOBm6k_c5iJdaT | simonw 9599 | 2023-07-22T18:34:04Z | 2023-07-22T18:34:04Z | OWNER | Here's the diff for adding it to |
{ "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
`datasette install -e` option 1816857442 | |
1646645990 | https://github.com/simonw/sqlite-utils/issues/569#issuecomment-1646645990 | https://api.github.com/repos/simonw/sqlite-utils/issues/569 | IC_kwDOCGYnMM5iJdLm | simonw 9599 | 2023-07-22T18:29:40Z | 2023-07-22T18:30:16Z | OWNER | Example plugin: https://gist.github.com/simonw/ccfbbf9b384a38ac7535b01849f57daf
[project.entry-points.sqlite_utils]
hello_world = "sqlite_utils_hello_world"
@sqlite_utils.hookimpl def register_commands(cli): @cli.command() def hello_world(): "Say hello world" click.echo("Hello world!") ``` |
{ "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
register_command plugin hook 1816852402 | |
1646643676 | https://github.com/simonw/sqlite-utils/issues/569#issuecomment-1646643676 | https://api.github.com/repos/simonw/sqlite-utils/issues/569 | IC_kwDOCGYnMM5iJcnc | simonw 9599 | 2023-07-22T18:18:24Z | 2023-07-22T18:18:24Z | OWNER | Here's where I added that to LLM: https://github.com/simonw/llm/commit/a396950f7934e82a9968703bb3ce9ab7ab62f7f8 |
{ "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
register_command plugin hook 1816852402 | |
1646643450 | https://github.com/simonw/sqlite-utils/issues/567#issuecomment-1646643450 | https://api.github.com/repos/simonw/sqlite-utils/issues/567 | IC_kwDOCGYnMM5iJcj6 | simonw 9599 | 2023-07-22T18:17:18Z | 2023-07-22T18:17:18Z | OWNER | I'm going to start by adding the |
{ "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
Plugin system 1801394744 | |
1646643379 | https://github.com/simonw/sqlite-utils/issues/567#issuecomment-1646643379 | https://api.github.com/repos/simonw/sqlite-utils/issues/567 | IC_kwDOCGYnMM5iJciz | simonw 9599 | 2023-07-22T18:16:54Z | 2023-07-22T18:16:54Z | OWNER |
Yeah, it could do! That's not a terrible idea to be honest, those things have really been proliferating. Alternatively, they could each register themselves as plugins in addition - so if you install e.g. The benefit there is for people who install ```bash brew install sqlite-utils sqlite-utils install pocket-to-sqlite sqlite-utils pocket-to-sqlite ... ``` |
{ "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
Plugin system 1801394744 | |
1646642959 | https://github.com/simonw/sqlite-utils/issues/568#issuecomment-1646642959 | https://api.github.com/repos/simonw/sqlite-utils/issues/568 | IC_kwDOCGYnMM5iJccP | simonw 9599 | 2023-07-22T18:14:49Z | 2023-07-22T18:14:49Z | OWNER | Here's where those are implemented for the |
{ "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
table.create(..., replace=True) 1816851056 | |
1646642666 | https://github.com/simonw/sqlite-utils/issues/568#issuecomment-1646642666 | https://api.github.com/repos/simonw/sqlite-utils/issues/568 | IC_kwDOCGYnMM5iJcXq | simonw 9599 | 2023-07-22T18:13:19Z | 2023-07-22T18:13:19Z | OWNER | https://sqlite-utils.datasette.io/en/stable/cli-reference.html#create-table
|
{ "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
table.create(..., replace=True) 1816851056 |
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]);
issue 11