{"html_url": "https://github.com/simonw/sqlite-utils/issues/266#issuecomment-861103684", "issue_url": "https://api.github.com/repos/simonw/sqlite-utils/issues/266", "id": 861103684, "node_id": "MDEyOklzc3VlQ29tbWVudDg2MTEwMzY4NA==", "user": {"value": 9599, "label": "simonw"}, "created_at": "2021-06-15T01:33:13Z", "updated_at": "2021-06-15T01:33:13Z", "author_association": "OWNER", "body": "Dupe of #37", "reactions": "{\"total_count\": 0, \"+1\": 0, \"-1\": 0, \"laugh\": 0, \"hooray\": 0, \"confused\": 0, \"heart\": 0, \"rocket\": 0, \"eyes\": 0}", "issue": {"value": 913135723, "label": "Add some types, enforce with mypy"}, "performed_via_github_app": null} {"html_url": "https://github.com/simonw/sqlite-utils/issues/266#issuecomment-856231119", "issue_url": "https://api.github.com/repos/simonw/sqlite-utils/issues/266", "id": 856231119, "node_id": "MDEyOklzc3VlQ29tbWVudDg1NjIzMTExOQ==", "user": {"value": 9599, "label": "simonw"}, "created_at": "2021-06-07T20:26:05Z", "updated_at": "2021-06-07T20:26:05Z", "author_association": "OWNER", "body": "https://github.com/python/cpython/blob/2ab27c4af4ddf7528e1375e77c787c7fbb09b5e6/Lib/typing.py#L2173-L2195\r\n\r\nIn Python 3.6 or higher can do this:\r\n\r\n```python\r\nclass Employee(NamedTuple):\r\n name: str\r\n id: int\r\n```", "reactions": "{\"total_count\": 0, \"+1\": 0, \"-1\": 0, \"laugh\": 0, \"hooray\": 0, \"confused\": 0, \"heart\": 0, \"rocket\": 0, \"eyes\": 0}", "issue": {"value": 913135723, "label": "Add some types, enforce with mypy"}, "performed_via_github_app": null} {"html_url": "https://github.com/simonw/sqlite-utils/issues/266#issuecomment-855611939", "issue_url": "https://api.github.com/repos/simonw/sqlite-utils/issues/266", "id": 855611939, "node_id": "MDEyOklzc3VlQ29tbWVudDg1NTYxMTkzOQ==", "user": {"value": 9599, "label": "simonw"}, "created_at": "2021-06-07T06:07:41Z", "updated_at": "2021-06-07T06:07:41Z", "author_association": "OWNER", "body": "Looks like this is the way to do this:\r\n```python\r\nPoint = typing.NamedTuple(\r\n \"Point\", [('x', int), ('y', int)]\r\n)\r\n```", "reactions": "{\"total_count\": 0, \"+1\": 0, \"-1\": 0, \"laugh\": 0, \"hooray\": 0, \"confused\": 0, \"heart\": 0, \"rocket\": 0, \"eyes\": 0}", "issue": {"value": 913135723, "label": "Add some types, enforce with mypy"}, "performed_via_github_app": null}