home / github / issue_comments

Menu
  • GraphQL API

issue_comments: 1030740570

This data as json

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/sqlite-utils/issues/399#issuecomment-1030740570 https://api.github.com/repos/simonw/sqlite-utils/issues/399 1030740570 IC_kwDOCGYnMM49b9pa 9599 2022-02-06T02:56:17Z 2022-02-06T02:57:00Z OWNER Thinking about types. The type of the `conversions` parameter right now is a bit lazy: ```python conversions: Optional[dict] = None, ``` That becomes: ```python Optional[Dict[str, Union[str, Conversion]]] ``` Where `Conversion` is an abstract base class which expects implementations to have a `.sql() -> str` and a `.convert(value) -> str` method. {"total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0} 1124731464  
Powered by Datasette · Queries took 0.979ms