home / github / issue_comments

Menu
  • Search all tables
  • GraphQL API

issue_comments: 634882770

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/datasette/issues/581#issuecomment-634882770 https://api.github.com/repos/simonw/datasette/issues/581 634882770 MDEyOklzc3VlQ29tbWVudDYzNDg4Mjc3MA== 9599 2020-05-27T19:16:19Z 2020-05-27T19:16:19Z OWNER

``` In [1]: import inspect

In [2]: def foo(view, sql, inspect): ...: pass ...:

In [3]: inspect.signature(foo)
Out[3]: <Signature (view, sql, inspect)>

In [4]: inspect.signature(foo).parameters
Out[4]: mappingproxy({'view': <Parameter "view">, 'sql': <Parameter "sql">, 'inspect': <Parameter "inspect">})

In [5]: inspect.signature(foo).parameters.keys()
Out[5]: odict_keys(['view', 'sql', 'inspect'])

In [6]: set(inspect.signature(foo).parameters.keys())
Out[6]: {'inspect', 'sql', 'view'} ```

{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
502993509  
Powered by Datasette · Queries took 0.767ms · About: github-to-sqlite