issue_comments: 890446166
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/251#issuecomment-890446166 | https://api.github.com/repos/simonw/sqlite-utils/issues/251 | 890446166 | IC_kwDOCGYnMM41EyFW | 9599 | 2021-08-01T04:14:26Z | 2021-08-01T04:14:26Z | OWNER | Problem with the `-r/--recipe` idea: the `parsedate` and `parsedatetime` and `jsonsplit` recipes in the current `sqlite-transform` tool all take additional options. For `sqlite-transform parsedate` and `parsedatetime`: ```python @click.option( "--dayfirst", is_flag=True, help="Assume day comes first in ambiguous dates, e.g. 03/04/05", ) @click.option( "--yearfirst", is_flag=True, help="Assume year comes first in ambiguous dates, e.g. 03/04/05", ) ``` For `jsonsplit`: ```python @click.option("--delimiter", default=",", help="Delimiter to split on") @click.option( "--type", type=click.Choice(("int", "float")), help="Type to use for values - int or float (defaults to string)", ) ``` | {"total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0} | 841377702 |