{"html_url": "https://github.com/simonw/sqlite-utils/issues/500#issuecomment-1282778928", "issue_url": "https://api.github.com/repos/simonw/sqlite-utils/issues/500", "id": 1282778928, "node_id": "IC_kwDOCGYnMM5Mdacw", "user": {"value": 9599, "label": "simonw"}, "created_at": "2022-10-18T17:44:20Z", "updated_at": "2022-10-18T17:44:20Z", "author_association": "OWNER", "body": "Here's how it works:\r\n\r\nhttps://github.com/simonw/sqlite-utils/blob/d792dad1cf5f16525da81b1e162fb71d469995f3/sqlite_utils/cli.py#L1847-L1848\r\n\r\nhttps://github.com/simonw/sqlite-utils/blob/d792dad1cf5f16525da81b1e162fb71d469995f3/sqlite_utils/cli.py#L1082-L1088", "reactions": "{\"total_count\": 0, \"+1\": 0, \"-1\": 0, \"laugh\": 0, \"hooray\": 0, \"confused\": 0, \"heart\": 0, \"rocket\": 0, \"eyes\": 0}", "issue": {"value": 1413610718, "label": "Turn --flatten into a documented utility function"}, "performed_via_github_app": null} {"html_url": "https://github.com/simonw/sqlite-utils/issues/500#issuecomment-1282779755", "issue_url": "https://api.github.com/repos/simonw/sqlite-utils/issues/500", "id": 1282779755, "node_id": "IC_kwDOCGYnMM5Mdapr", "user": {"value": 9599, "label": "simonw"}, "created_at": "2022-10-18T17:45:10Z", "updated_at": "2022-10-18T17:45:10Z", "author_association": "OWNER", "body": "It should go in `sqlite_utils.utils` - documented here: https://sqlite-utils.datasette.io/en/stable/reference.html#sqlite-utils-utils", "reactions": "{\"total_count\": 0, \"+1\": 0, \"-1\": 0, \"laugh\": 0, \"hooray\": 0, \"confused\": 0, \"heart\": 0, \"rocket\": 0, \"eyes\": 0}", "issue": {"value": 1413610718, "label": "Turn --flatten into a documented utility function"}, "performed_via_github_app": null} {"html_url": "https://github.com/simonw/sqlite-utils/issues/500#issuecomment-1282780770", "issue_url": "https://api.github.com/repos/simonw/sqlite-utils/issues/500", "id": 1282780770, "node_id": "IC_kwDOCGYnMM5Mda5i", "user": {"value": 9599, "label": "simonw"}, "created_at": "2022-10-18T17:45:56Z", "updated_at": "2022-10-18T17:46:05Z", "author_association": "OWNER", "body": "I think the public interface is a `flatten(row)` function that does `dict(_flatten(row))`.", "reactions": "{\"total_count\": 0, \"+1\": 0, \"-1\": 0, \"laugh\": 0, \"hooray\": 0, \"confused\": 0, \"heart\": 0, \"rocket\": 0, \"eyes\": 0}", "issue": {"value": 1413610718, "label": "Turn --flatten into a documented utility function"}, "performed_via_github_app": null} {"html_url": "https://github.com/simonw/sqlite-utils/issues/500#issuecomment-1282800547", "issue_url": "https://api.github.com/repos/simonw/sqlite-utils/issues/500", "id": 1282800547, "node_id": "IC_kwDOCGYnMM5Mdfuj", "user": {"value": 9599, "label": "simonw"}, "created_at": "2022-10-18T18:02:09Z", "updated_at": "2022-10-18T18:02:09Z", "author_association": "OWNER", "body": "Documentation: https://sqlite-utils.datasette.io/en/latest/reference.html#sqlite-utils-utils-flatten", "reactions": "{\"total_count\": 1, \"+1\": 0, \"-1\": 0, \"laugh\": 0, \"hooray\": 0, \"confused\": 0, \"heart\": 0, \"rocket\": 1, \"eyes\": 0}", "issue": {"value": 1413610718, "label": "Turn --flatten into a documented utility function"}, "performed_via_github_app": null} {"html_url": "https://github.com/simonw/sqlite-utils/issues/501#issuecomment-1282813168", "issue_url": "https://api.github.com/repos/simonw/sqlite-utils/issues/501", "id": 1282813168, "node_id": "IC_kwDOCGYnMM5Mdizw", "user": {"value": 9599, "label": "simonw"}, "created_at": "2022-10-18T18:12:15Z", "updated_at": "2022-10-18T18:12:15Z", "author_association": "OWNER", "body": "Here's the new Tabulate release:\r\n- https://github.com/astanin/python-tabulate/releases/tag/v0.9.0\r\n- https://github.com/astanin/python-tabulate/compare/v0.8.10...v0.9.0", "reactions": "{\"total_count\": 0, \"+1\": 0, \"-1\": 0, \"laugh\": 0, \"hooray\": 0, \"confused\": 0, \"heart\": 0, \"rocket\": 0, \"eyes\": 0}", "issue": {"value": 1413641049, "label": "Tests failing due to updated tabulate library"}, "performed_via_github_app": null} {"html_url": "https://github.com/simonw/sqlite-utils/issues/501#issuecomment-1282817901", "issue_url": "https://api.github.com/repos/simonw/sqlite-utils/issues/501", "id": 1282817901, "node_id": "IC_kwDOCGYnMM5Mdj9t", "user": {"value": 9599, "label": "simonw"}, "created_at": "2022-10-18T18:14:35Z", "updated_at": "2022-10-18T18:14:35Z", "author_association": "OWNER", "body": "Now the 3.6 tests fail - because the new release of tabulate dropped support for that Python version (so on Python 3.6 you get an older version): https://github.com/simonw/sqlite-utils/actions/runs/3275842849/jobs/5391181675\r\n\r\nhttps://github.com/astanin/python-tabulate/blame/20c6370d5da2dae89b305bfb6c7f12a0f8b7236c/pyproject.toml#L22 shows minimum is 3.7 now.", "reactions": "{\"total_count\": 0, \"+1\": 0, \"-1\": 0, \"laugh\": 0, \"hooray\": 0, \"confused\": 0, \"heart\": 0, \"rocket\": 0, \"eyes\": 0}", "issue": {"value": 1413641049, "label": "Tests failing due to updated tabulate library"}, "performed_via_github_app": null} {"html_url": "https://github.com/simonw/sqlite-utils/issues/501#issuecomment-1282819035", "issue_url": "https://api.github.com/repos/simonw/sqlite-utils/issues/501", "id": 1282819035, "node_id": "IC_kwDOCGYnMM5MdkPb", "user": {"value": 9599, "label": "simonw"}, "created_at": "2022-10-18T18:15:05Z", "updated_at": "2022-10-18T18:15:05Z", "author_association": "OWNER", "body": "I'm going to skip the cog test on Python 3.6 to address this. The documentation on the website will show the available list of options for 3.7 and higher.", "reactions": "{\"total_count\": 0, \"+1\": 0, \"-1\": 0, \"laugh\": 0, \"hooray\": 0, \"confused\": 0, \"heart\": 0, \"rocket\": 0, \"eyes\": 0}", "issue": {"value": 1413641049, "label": "Tests failing due to updated tabulate library"}, "performed_via_github_app": null} {"html_url": "https://github.com/simonw/sqlite-utils/issues/501#issuecomment-1282830806", "issue_url": "https://api.github.com/repos/simonw/sqlite-utils/issues/501", "id": 1282830806, "node_id": "IC_kwDOCGYnMM5MdnHW", "user": {"value": 9599, "label": "simonw"}, "created_at": "2022-10-18T18:23:36Z", "updated_at": "2022-10-18T18:23:36Z", "author_association": "OWNER", "body": "Tests pass now.\r\n\r\nUpdated docs:\r\n- https://sqlite-utils.datasette.io/en/latest/cli.html#table-formatted-output\r\n- https://sqlite-utils.datasette.io/en/latest/cli-reference.html#query - and many other places on that page", "reactions": "{\"total_count\": 0, \"+1\": 0, \"-1\": 0, \"laugh\": 0, \"hooray\": 0, \"confused\": 0, \"heart\": 0, \"rocket\": 0, \"eyes\": 0}", "issue": {"value": 1413641049, "label": "Tests failing due to updated tabulate library"}, "performed_via_github_app": null}