github
html_url | issue_url | id | node_id | user | created_at | updated_at | author_association | body | reactions | issue | performed_via_github_app |
---|---|---|---|---|---|---|---|---|---|---|---|
https://github.com/simonw/datasette/issues/420#issuecomment-478393116 | https://api.github.com/repos/simonw/datasette/issues/420 | 478393116 | MDEyOklzc3VlQ29tbWVudDQ3ODM5MzExNg== | 9599 | 2019-03-31T22:52:48Z | 2019-03-31T22:52:48Z | OWNER | This means the `Datasette` class needs a new property, keeping track of all of the connected databases. ``` ds.databases = { "name_used_in_urls": { "type": "file", # or "memory" "path": filepath # or None if memory "mutable": True # or False, "hash": "..." # or None if mutable } } ``` Maybe these should be objects, not dictionaries. | { "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
421971339 | |
https://github.com/simonw/datasette/issues/420#issuecomment-478391708 | https://api.github.com/repos/simonw/datasette/issues/420 | 478391708 | MDEyOklzc3VlQ29tbWVudDQ3ODM5MTcwOA== | 9599 | 2019-03-31T22:33:32Z | 2019-03-31T22:34:02Z | OWNER | Next I need to fix this: https://github.com/simonw/datasette/blob/0209a0a344503157351e625f0629b686961763c9/datasette/app.py#L420-L435 Given 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. | { "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
421971339 |