{"html_url": "https://github.com/simonw/datasette/issues/420#issuecomment-478393116", "issue_url": "https://api.github.com/repos/simonw/datasette/issues/420", "id": 478393116, "node_id": "MDEyOklzc3VlQ29tbWVudDQ3ODM5MzExNg==", "user": {"value": 9599, "label": "simonw"}, "created_at": "2019-03-31T22:52:48Z", "updated_at": "2019-03-31T22:52:48Z", "author_association": "OWNER", "body": "This means the `Datasette` class needs a new property, keeping track of all of the connected databases.\r\n\r\n```\r\nds.databases = {\r\n \"name_used_in_urls\": {\r\n \"type\": \"file\", # or \"memory\"\r\n \"path\": filepath # or None if memory\r\n \"mutable\": True # or False,\r\n \"hash\": \"...\" # or None if mutable\r\n }\r\n}\r\n```\r\n\r\nMaybe these should be objects, not dictionaries.", "reactions": "{\"total_count\": 0, \"+1\": 0, \"-1\": 0, \"laugh\": 0, \"hooray\": 0, \"confused\": 0, \"heart\": 0, \"rocket\": 0, \"eyes\": 0}", "issue": {"value": 421971339, "label": "Fix all the places that currently use .inspect() data"}, "performed_via_github_app": null} {"html_url": "https://github.com/simonw/datasette/issues/420#issuecomment-478391708", "issue_url": "https://api.github.com/repos/simonw/datasette/issues/420", "id": 478391708, "node_id": "MDEyOklzc3VlQ29tbWVudDQ3ODM5MTcwOA==", "user": {"value": 9599, "label": "simonw"}, "created_at": "2019-03-31T22:33:32Z", "updated_at": "2019-03-31T22:34:02Z", "author_association": "OWNER", "body": "Next I need to fix this:\r\n\r\nhttps://github.com/simonw/datasette/blob/0209a0a344503157351e625f0629b686961763c9/datasette/app.py#L420-L435\r\n\r\nGiven the name of the database (from the URL e.g. https://latest.datasette.io/fixtures) I need to figure out what name I used to cache the collection.", "reactions": "{\"total_count\": 0, \"+1\": 0, \"-1\": 0, \"laugh\": 0, \"hooray\": 0, \"confused\": 0, \"heart\": 0, \"rocket\": 0, \"eyes\": 0}", "issue": {"value": 421971339, "label": "Fix all the places that currently use .inspect() data"}, "performed_via_github_app": null}